Jump to content

ftp large files in php


drifter

Recommended Posts

I have a script I need to run daily that downloads a bunch of .gz files then parses, etc.

One of the files is currently 98MB - when I run the script it gets about 45MB-47MB Downloaded and just dies.

Script works fine with other files if I comment out the biggest one.

I have tried ftpget ftp_nb_get etc. I can resume the file download, but  I will be one day setting this on a cron job, and the script does not know when it fails, it just stops. No awnsers or anything.

I am just wondering is there some setting somewhere that I can pass, or in php.ini or something else that will allow me to fetch very large files.

Thanks
Scott
Link to comment
https://forums.phpfreaks.com/topic/29160-ftp-large-files-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.