|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ftp_fput() resets every 5 minutes
Hi,
I'm using a PHP script to upload a file from one server to another. In doing so I use ftp_fput to transfer the file to the FTP server in binary mode. However, I'm having problems when I upload large files, which take a while to transfer. It seems that the file transfer works just fine until 5 minutes after it started. After 5 minutes it resets and the file upload starts again at 0. I'm not sure exactly what is going on, but when I refresh via CuteFTP I watch the size of the remote file increase and then it starts back at 0 again after 5 minutes. What am I doing wrong? I tried using set_time_limit(1800); to increase the execution time to 30 minutes but it doesn't seem to have an effect. |
|
#2
|
|||
|
|||
|
...
|
|
#3
|
|||
|
|||
|
Thanks for the help everyone!
|
|
#4
|
|||
|
|||
|
Any time you feel like responding, go ahead.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > ftp_fput() resets every 5 minutes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|