Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
Whenever I run a program that does ftp uploading, and I connect to my hosting service's server, and I do some other work, the program disconnects after 300 seconds. I can easily use up 5 minutes just preparing files for upload.
Does anyone know how I can change the timeout value?
Is this done on the client or on the server?
If relevant, I am using Windows 98. My hosting service uses Apache/Unix. I don't know what ftp server they use.
I'm guessing that the server you are ftping to is apache (60% of the web is so it's a good bet). The default httpd.conf configuration is Timout 300.
It's my understanding that when the browser requests a page from the server it creates one connection, which usually lasts between 0 and 5 seconds. The timeout setting is the maximum time one request can last on the server before it is cut loose, otherwise the server would slow and crash.
Is it possible you are connecting via http rather then ftp? That would explain the timeout after 300 seconds.
CuteFTP (for one) can be configured to maintain a connection indefinitely by periodically sending "do nothing" commands to the server before it times out. CuteFTP calls this "Smart Keep Alive," there are probably other FTP clients that can do something similar.