TC hangs while copying to FTP connection which is lost
Moderators: Hacker, petermad, Stefan2, white
TC hangs while copying to FTP connection which is lost
I have some FTP connection with virtual machine FTP server in a tab. Sometimes I choose this tab and TC says something like 'connection is lost. reconnect?'. I answer Yes, all work fine.
But if I try to copy files to other panel with this tab and connection is lost TC hands for some time (as I see it reports 'permission denied') and then asks 'Transfer failed, continue operation?'. It seems that TC tries to wait for some time to repeat transfer and it does so for every file to be copied. It is not possible to cancel this operation.
This bug is VERY annoying for me because every time it happens I need to wait for 5-10 seconds before TC become responsible again.
I can see same effect when I'm trying to copy to write-protected FTP folder - I need to wait for 5-10 seconds before TC say 'Transfer failed, continue operation?'. BTW when TC needs to create folder before copying file(s) it reports error immediately.
But if I try to copy files to other panel with this tab and connection is lost TC hands for some time (as I see it reports 'permission denied') and then asks 'Transfer failed, continue operation?'. It seems that TC tries to wait for some time to repeat transfer and it does so for every file to be copied. It is not possible to cancel this operation.
This bug is VERY annoying for me because every time it happens I need to wait for 5-10 seconds before TC become responsible again.
I can see same effect when I'm trying to copy to write-protected FTP folder - I need to wait for 5-10 seconds before TC say 'Transfer failed, continue operation?'. BTW when TC needs to create folder before copying file(s) it reports error immediately.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I've noticed this as well, though usually when it occurs I'm in the middle of a project and can't be distracted to post about it.
It doesn't always occur though, so I haven't nailed down what exactly triggers it. As often it will just reconnect...
Total Commander's FTP doesn't react well when your internet connection or DNS is down either, that takes an exceedingly long time to time out.
It doesn't always occur though, so I haven't nailed down what exactly triggers it. As often it will just reconnect...
Total Commander's FTP doesn't react well when your internet connection or DNS is down either, that takes an exceedingly long time to time out.
I found the problem with uploading to write-protected folders before: http://ghisler.ch/board/viewtopic.php?t=27062
- ghisler(Author)
- Site Admin
- Posts: 50517
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I cannot offer you a solution. Handling unstable connections is really difficult.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50517
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Normally it shouldn't freeze - TC uses the windows sockets callback function which is called by the system when a system hangs. Do you use ipv6 functions in TC (preferipv6 in wincmd.ini)? It seems that then the callback isn't called.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I hadn't set preferipv6 option so it should have its default value.
BTW I did some test at home and should say that I have same bug on Windows XP too. I have some FTP server on local machine. I opened it in one panel and then deactivated. Then I tried to copy some file from another panel to FTP folder... And I couldn't click Cancel button because TC hung.
It is a very significant delay before TC is responsible again...
(BTW I have disabled IPv6 in LAN connection at home at all.)
BTW I did some test at home and should say that I have same bug on Windows XP too. I have some FTP server on local machine. I opened it in one panel and then deactivated. Then I tried to copy some file from another panel to FTP folder... And I couldn't click Cancel button because TC hung.

(BTW I have disabled IPv6 in LAN connection at home at all.)