By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

Need a solution for downloading 100s of images without server timeout

P: 1
We’ve developed a PHP/MySQL based database application that contains over 1,000 large images (30 MB each). Our client’s field staff need the ability to frequently download all these images from anywhere in the world. The problem we are experiencing while attempting to download all the images at once is “server connection time out.”

Can anyone suggest some solutions to overcome this problem? Can the image files be downloaded with a direct FTP access? Would it be possible to write a script to accomplish this.

Thank you very much.
Oct 28 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 1,584
PHP can access FTP but cannot access the user's machine. You need an FTP client installed on the client machine to access the server and download them. If they are in a database, PHP can retrieve it and put it in a folder on the server.

Look into using AJAX that runs on the client side until it know the image has been retrieved from the DB?

That's all I can think of, and it's not my best solution, I must say.

Oct 28 '08 #2

Expert 5K+
P: 6,050
Server timeout: if you set_time_limit() to 0, then there is no timeout.
Oct 28 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.