Hi folks!
I have a problem downloading a files from FTP through PHP. The file I need to download has about 300 MB, but server has a slow link. PHP timeout on the server where my site is hosted does not allow me to download entire file. BTW, I am behind the firewall, so I am not able to connect directly to this FTP site, only through some kind of tunnel that I am trying to develop using phps.
So, what I am looking for is some kind of a cycler, which would "split" the file on smaller parts (e.g. 50 M😎, download the file be reloading the PHP, and finally create a file of an original size at my server.
Could anyone please help me, where could I find some sample code, or help?
Thanx a lot for your help!