Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

WAD IFTP timeout?

May
12,846
164
I have my FTP timeout set at 10. I see this:

Code:
v:\> timer dir ftp://jpsoft.com
Timer 1 on: 01:02:20
TCC: Timeout. "ftp://jpsoft.com"
Timer 1 off: 01:02:30  Elapsed: 0:00:10.03

v:\> timer iftp ftp://jpsoft.com
Timer 1 on: 01:03:09
TCC: Timeout. "jpsoft.com"
Timer 1 off: 01:03:31  Elapsed: 0:00:21.06
 
When I set it to 60, I see
Code:
v:\> option ftptimeout
ftptimeout=60

v:\> timer dir ftp://jpsoft.com
Timer 1 on: 01:13:10
TCC: Timeout. "ftp://jpsoft.com"
Timer 1 off: 01:13:31  Elapsed: 0:00:21.03

v:\> timer iftp ftp://jpsoft.com
Timer 1 on: 01:13:38
TCC: Timeout. "jpsoft.com"
Timer 1 off: 01:13:59  Elapsed: 0:00:21.04
 
OK, I get it. If TCC's inactivity timeout isn't smaller, then the 21 seconds comes from Windows. The default timeout on the first try is 3 seconds ... 6 seconds on the second try ... 12 seconds on the third try ... then Windows gives up, after 3+6+12=21 seconds.
 

Similar threads

Back
Top