Annoyance with FTP

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
j7n
Member
Member
Posts: 192
Joined: 2005-08-07, 21:56 UTC

Annoyance with FTP

Post by *j7n »

There is a little annoyance with FTP that's been there for a long time. I try to connect to a server that not reachable for whatever reason. I realize this and I press Abort. The FTP dialog closes and I'm back at the file list. Then I quickly open the dialog again and select a working server, and it will say to me "IP Address not found" because it still has he memory of trying to contact the unreachable server. Then I have to repeat the connection, and it works. It doesn't take long to work around of course. But why is this?
#148174 Personal license
Running Total Commander v8.52a
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Annoyance with FTP

Post by *petermad »

I cannot reproduce the described.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Annoyance with FTP

Post by *ghisler(Author) »

Could it be that the unreachable server uses its own name server hosted on the server itself, and they aren't reachable either? Then the FTP client would only show the server name but not the IP address. This could make the Windows IP lookup function to hang, and make future IP lookups fail until the first lookup timed out.
Author of Total Commander
https://www.ghisler.com
User avatar
j7n
Member
Member
Posts: 192
Joined: 2005-08-07, 21:56 UTC

Re: Annoyance with FTP

Post by *j7n »

The name server is on the router. It also happens when using IP addresses. See here the connection number is indicated as 1: because it knows that there is a connection 0 (unreachable) still active.

https://i.imgur.com/sFEeN6R.png
#148174 Personal license
Running Total Commander v8.52a
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Annoyance with FTP

Post by *ghisler(Author) »

I cannot reproduce the error when using the IP address to connect.
Author of Total Commander
https://www.ghisler.com
User avatar
j7n
Member
Member
Posts: 192
Joined: 2005-08-07, 21:56 UTC

Re: Annoyance with FTP

Post by *j7n »

I tried the latest beta and the error is still there. It shows only if the second attempt to connect to a working server is made within a short time after pressing Abort. But it is long enough to open the dialog again at a normal pace.
#148174 Personal license
Running Total Commander v8.52a
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Annoyance with FTP

Post by *ghisler(Author) »

I tried to simulate it by duplicating a connection and changing the port - this would hang the connection, and I had to abort it. Immediately after getting the error "Connection aborted!" I tried to connect to the correct port, and it worked immediately.
Author of Total Commander
https://www.ghisler.com
Post Reply