kukipei Posted December 13, 2007 Share Posted December 13, 2007 Hi, I have a very big problem. I need to download some zip files from ftp server. These files are very big (about 9 GB). I have a script which download a small files (about 2GB) nicely. But when I want to download biger files script simply skip those files. For example if I have 3 files with sizes 3GB, 9GB, 2GB script download files 3GB and 2GB but don't download file from 9GB. Does anybody know what can be a problem? Is there some limitation in php for downloading or limitation on server? Best Regards and Thanks in advance, Predrag Quote Link to comment Share on other sites More sharing options...
dsaba Posted December 13, 2007 Share Posted December 13, 2007 I"m not familiar with "skipping" files.. I don't know if this is true. I do know that there is a timeout limit in php which you can set in your php.ini file, big files will probably take a long time to download, you could try using ajax to send many requests to the php script on the server, so it won't time out Quote Link to comment Share on other sites More sharing options...
kukipei Posted December 13, 2007 Author Share Posted December 13, 2007 I have put set_time_limit(0) in script. Quote Link to comment Share on other sites More sharing options...
dsaba Posted December 13, 2007 Share Posted December 13, 2007 if there is going to be any bug, its going to be because of something in your code, or a bug within a function like fwrite().. etc.. so post your problem code Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.