Page 1 of 2
[REQ] Repeat FTP command after reconnecting
Posted: 2007-03-15, 11:01 UTC
by Flint
1. Some FTP connection is opened but gone offline.
2. Press e.g. F5 to download some file.
3. TC shows a question if you want to reconnect. Reply Yes.
4. TC reconnects, and now you have to repeat your action, i.e. again press F5.
Suggestion: it would be more convenient if TC after restoring the connection performed the action that the user requested.
Posted: 2007-03-15, 18:32 UTC
by petermad
BIG Support ++++
Logical…
Posted: 2007-03-15, 21:15 UTC
by Clo
2
Flint

Hello K. !
• That makes sense !
I suppport !

FR
Claude
Clo
Posted: 2007-03-16, 03:26 UTC
by ado
Posted: 2007-03-16, 06:59 UTC
by Flint
Ah, I definitely should improve my forum search skills...

Posted: 2007-03-16, 20:14 UTC
by ghisler(Author)
This isn't implemented because some FTP servers don't return a valid current directory, or don't return to the same location even when the directory is passed to them.
For example, some servers for Windows support changing drives via the command
cd d:
The server will then show the contents of drive d:, but list the current directory only in the form
/subdir1/subdir2
Now when TC reconnects, and sends
cd /subdir1/subdir2
to the server, the server will go just to c:\subdir1\subdir2
Repeat, please !
Posted: 2007-03-16, 20:58 UTC
by Clo
2
ghisler(Author)

Good evening,
• Well, we know that Unix doesn't use drive letters, it knows only Holy Root “
/” and all the rest is “directory”.
…Now when TC reconnects, and sends
cd /subdir1/subdir2…
• Why not repeat the drive for that call? Like:
cd D:/subdir1/subdir2…

VG
Claude
Clo
Posted: 2007-03-19, 17:44 UTC
by ghisler(Author)
How should I know that the other side is not Unix? How should I know that you can change drives this way when the server reports just /subdir1/subdir2 as the path?
Log ?
Posted: 2007-03-19, 19:21 UTC
by Clo
2
ghisler(Author)

Good evening,
How should I know that the other side is not Unix? How should I know that you can change drives this way when the server reports just /subdir1/subdir2 as the path?
• Maybe reading the very previous connection in the log file ?

VG
Claude
Clo
Posted: 2007-03-20, 13:34 UTC
by Flint
ghisler(Author) wrote:How should I know that the other side is not Unix?
Doesn't the SYST command do the trick?

What is it called for in TC when a connection is established?
ghisler(Author) wrote:For example, some servers for Windows support changing drives via the command
cd d:
Could you please tell a sample FTP server which allows to do that? I'd like to test this feature. I tried with IIS but no success: it just accepts only one specific directory as a root of the
FTP. Moreover, on trying "cd d:" it just reports "550 d:: The filename, directory name, or volume label syntax is incorrect."
Posted: 2007-03-21, 17:00 UTC
by ghisler(Author)
Doesn't the SYST command do the trick?
No, many servers report themselves as Unix because they return a standard Unix-style file listing.
Posted: 2007-03-23, 04:08 UTC
by ado
and what about you'll remember for each open FTP connection if user entered something like "cd d:" and after reconnect you'll simply send the last "cd d:" (if user used it) and then "cd /subdir1/subdir2"
Posted: 2007-03-23, 08:05 UTC
by Clo
2
ado

Hello!
• It's that I said above by using the log-file…

KR
Claude
Clo
Re: [REQ] Repeat FTP command after reconnecting
Posted: 2007-04-10, 04:57 UTC
by Plenz
Flint wrote:1. Some FTP connection is opened but gone offline.
2. Press e.g. F5 to download some file.
3. TC shows a question if you want to reconnect. Reply Yes.
4. TC reconnects, and now you have to repeat your action, i.e. again press F5.
First of all, it would be more convenient if TC does
not ask me if I want to reconnect. It should reconnect without asking me. In my opinion, this question is too stupid. I don't remember any case where I said "no".
ghisler(Author) wrote:How should I know that the other side is not Unix?
You must not know. Let
the user know. Just give us some checkboxes to tell TC how to work, please!
Posted: 2007-05-01, 08:35 UTC
by Lars Blaabjerg
If a server returns a path to a directory and does not go to the same directory when fed the same path, I think that server has a problem and should be treated as a special case (user selectable).
I would very much like automatic reconnection too.