FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 16th, 2003, 01:35 PM
TheRealRodzilla TheRealRodzilla is offline
PHP Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 37 TheRealRodzilla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 sec
Reputation Power: 7
Send a message via ICQ to TheRealRodzilla
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.

Reply With Quote
  #2  
Old February 18th, 2003, 10:35 PM
TheRealRodzilla TheRealRodzilla is offline
PHP Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 37 TheRealRodzilla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 sec
Reputation Power: 7
Send a message via ICQ to TheRealRodzilla
...

Reply With Quote
  #3  
Old February 22nd, 2003, 04:26 PM
TheRealRodzilla TheRealRodzilla is offline
PHP Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 37 TheRealRodzilla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 sec
Reputation Power: 7
Send a message via ICQ to TheRealRodzilla
Thanks for the help everyone!

Reply With Quote
  #4  
Old February 24th, 2003, 06:02 PM
TheRealRodzilla TheRealRodzilla is offline
PHP Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 37 TheRealRodzilla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 sec
Reputation Power: 7
Send a message via ICQ to TheRealRodzilla
Any time you feel like responding, go ahead.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ftp_fput() resets every 5 minutes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway