FTP "Send Commands" issue

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Isica
Junior Member
Junior Member
Posts: 38
Joined: 2013-09-24, 05:07 UTC

FTP "Send Commands" issue

Post by *Isica »

"Send Commands" use ";" as commands separator. However, some FTP commands may contain ";" (e.g. OPTS MLST). It is necessary to somehow fix this problem: select another separator, or use quotation marks, escaping, etc.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP "Send Commands" issue

Post by *ghisler(Author) »

Sorry, I will not change this for compatibility with older TC versions.
Author of Total Commander
https://www.ghisler.com
Isica
Junior Member
Junior Member
Posts: 38
Joined: 2013-09-24, 05:07 UTC

Re: FTP "Send Commands" issue

Post by *Isica »

But you can use self-escaping (";;" -> ";") - this method is absolutely compatible with older versions ;-)

PS
Proper configuration of OPTS MLST (eliminating factors not used by TC) can sometimes significantly accelerate the reading of large directories.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP "Send Commands" issue

Post by *ghisler(Author) »

Nice idea!
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP "Send Commands" issue

Post by *ghisler(Author) »

This was added in beta 5, could someone test it please?
13.11.19 Added: FTP, send commands: Allow to send semicolons within a command by duplicating it, e.g. CWD /test/a;;b;;c;PWD sends commands CWD /test/a;b;c and PWD (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP "Send Commands" issue

Post by *ghisler(Author) »

My own tests were successful, so I'm moving this to "fixed bugs".
Author of Total Commander
https://www.ghisler.com
Post Reply