Hi, I'm using TC 8.5x and I have noticed that TC always reports a FTP connection as 'broken' after it has been idle for while.
TC is configured to send a PWD message every 25s on this connection and it happily does so when the connection is opened.
However, after an hour or so (varying) it simply stops sending those messages.
A wireshark trace showed nothing special with the last message exchange,
so as far as I can see there's no server-involvement here (the server is IIS).
Also, there's nothing out of the ordinary in the TC (FTP) logs.
Anybody else seen this?
TC stops sending periodic FTP keep-alive messages?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 3
- Joined: 2014-07-25, 07:10 UTC
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Keep alive in TC is currently (intentionally) limited to 1 hour maximum. This is to handle the situation where a user forgets a connection, to avoid that it stays open forever.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 3
- Joined: 2014-07-25, 07:10 UTC
Ah, I had overlooked that in the documentation and forum.
Is there any (undocumented) config setting to work around this
Also, perhaps it is an idea for TC to properly close the connection after the hour?
Right now, there seems to be a time period after the hour in which TC tries to still use the old connection. In such cases, the server may have already timed-out on the connection and TC gets stuck in a very lengthy TCP retransmission session during which you get 'command in progress' mesages from TC.
Is there any (undocumented) config setting to work around this

Also, perhaps it is an idea for TC to properly close the connection after the hour?
Right now, there seems to be a time period after the hour in which TC tries to still use the old connection. In such cases, the server may have already timed-out on the connection and TC gets stuck in a very lengthy TCP retransmission session during which you get 'command in progress' mesages from TC.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately there isn't. You could use autohotkey or so to send Ctrl+R from time to time...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com