Ftp timeout

moltenfire, Apr 29, 11:43pm
A query to those that understand ftping from the command prompt:

Take eg:
ftp>open www.mywebsite.com
ftp>username
ftp>password
ftp>binary
ftp>get filename.txt

Now this sometimes hangs due to server being off-line etc.

The query is, what is the ftp command to define timeout? Some suggestions are that the default is 120 seconds but the user won't wait that long and I need to set it to say 20 seconds.

Anyone know the answer. ?

floydbloke, Apr 30, 1:37am
Don't think you can do it from the prompt. I believe it's somewhere in the settings (if supported) for the specific FTP app you're using, e.g a .conf file if using Linux.


neoslowmo, Apr 30, 1:42am
^ What I was thinking too, but i'm also thinking hhhmmm might have a look if I can.
But is this what you're looking for OP?
https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/44ebc761-ac76-4b44-8894-551c9315af6c.mspx?mfr=true

spyware, Apr 30, 2:58am
This refers to idle session timeout which is not what is being referred to at all.

moltenfire, Apr 30, 3:47am
Thanks all, no it's the actual timeout of the ftp job, although being able to set the idle timeout would also be helpful. Using Windozie.

mattnzw, Apr 30, 3:51am
Contact your host as it is set from their end.

moltenfire, Apr 30, 3:55am
Dead right Matt, just been into cpanel and altered config file - was 200, now 10. Oh why is the obvious never the first thought!? Cheers

neoslowmo, Dec 29, 9:01am
Apologies misread the question

Share this thread

Buy me a coffee :)Buy me a coffee :)