WAD IFTP timeout?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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
 
#2
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
 
#4
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.