FTP: disconnects automatically, drops the connection, help.
Moderators: Hacker, petermad, Stefan2, white
FTP: disconnects automatically, drops the connection, help.
Hello.
I have Total Commander for over two years, and when I connect to the server, it disconnects automatically, 2 in 2 minutes.
I've done tests on various FTP servers and always presents the same problem.
I really like Total Commander, but I can not solve this problem, can anyone help me?
My version is updated
I have Total Commander for over two years, and when I connect to the server, it disconnects automatically, 2 in 2 minutes.
I've done tests on various FTP servers and always presents the same problem.
I really like Total Commander, but I can not solve this problem, can anyone help me?
My version is updated
Total Commander is very good, but drops the connection
Because such a good software, can not be 100% functional?
I have Total Commander Registered, but it drops the connection in the middle of the operation with FTP server. Could someone show me a solution for this?
I have Total Commander Registered, but it drops the connection in the middle of the operation with FTP server. Could someone show me a solution for this?
- sqa_wizard
- Power Member
- Posts: 3896
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Well, actually the FTP server drops the connection, not TC.
This often happens due to the fact that there is no traffic on the control session for some time though there is traffic on the data session.
You may prevent it by enabling "keep alive" option:
Net - FTP connect - (select your session entry) - Edit
On "advanced" tab enable option "Send command to keep connection alive"
You have to try yourself which command will prevent a drop of connection. (varies from server to server)
This often happens due to the fact that there is no traffic on the control session for some time though there is traffic on the data session.
You may prevent it by enabling "keep alive" option:
Net - FTP connect - (select your session entry) - Edit
On "advanced" tab enable option "Send command to keep connection alive"
You have to try yourself which command will prevent a drop of connection. (varies from server to server)
#5767 Personal license
- sqa_wizard
- Power Member
- Posts: 3896
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Transferring files uses the data session only. Loss of connection is due to no traffic on control session.This often happens due to the fact that there is no traffic on the control session for some time though there is traffic on the data session.
Have a look at the log of FileZilla to figure out the sent keep alive command that works there.
#5767 Personal license
In my experience it is often a NAT router or firewall that drops idle connections to limit the size of its table of tracked connections. The server itself is usually smart enough to see a link between the control and data streams, and does not consider the session idle. Normally an established TCP connection should stay tracked for 1 day, but this is often less.
While a transfer is in progress, FTP keep-alives do not seem to be sent at all. They only help maintain the connection while the user browses the server. I can't say what keeps the other clients from losing connection. Maybe they send something on the TCP level, which is not logged as a server command.
FileZilla Client (v3) has a very short keep-alive interval of 30 seconds, while TC defaults to 90.
While a transfer is in progress, FTP keep-alives do not seem to be sent at all. They only help maintain the connection while the user browses the server. I can't say what keeps the other clients from losing connection. Maybe they send something on the TCP level, which is not logged as a server command.
FileZilla Client (v3) has a very short keep-alive interval of 30 seconds, while TC defaults to 90.
#148174 Personal license
Running Total Commander v8.52a
Running Total Commander v8.52a
- sqa_wizard
- Power Member
- Posts: 3896
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Well, you really call it "not help" if you got tips at the forum... but it seems that after sales, the company does not help the customer.

I never got a drop of the connection with TC without a server forced action.
So please give us more information about your problem:
What is your keep-alive interval?
Which keep-alive commands did you try?
How does a log of TC failed transfer look like?
How does a log of FileZilla working transfer look like?
#5767 Personal license
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This isn't TC's problem, it will keep the connection forever when the server or router doesn't kick you out.
1. Try configuring a longer timeout on the server
2. Try using FTP keep alive: Ctrl+F - Edit connection, second tab.
1. Try configuring a longer timeout on the server
2. Try using FTP keep alive: Ctrl+F - Edit connection, second tab.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can try keep alive during the transfer. It sends just simple new line characters over the control connection. This works with some servers, but not all, so please try it.
To the file wcx_ftp.ini section [General] add:
KeepAliveTransfer=1
From the help:
1: Send keepalive also during a transfer. This will send just newline characters to the control connection to avoid that a firewall/gateway drops the connection. Set also individually per server (the latter not working in BTM). Note that this will confuse some FTP servers, but it may be the last resort in case of frequent connection losses.
To the file wcx_ftp.ini section [General] add:
KeepAliveTransfer=1
From the help:
1: Send keepalive also during a transfer. This will send just newline characters to the control connection to avoid that a firewall/gateway drops the connection. Set also individually per server (the latter not working in BTM). Note that this will confuse some FTP servers, but it may be the last resort in case of frequent connection losses.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com