Topic "Support for FTP HOST Command (RFC 7151)"

Author Message
GeekyBob
[View user's profile]

Joined: 2014-04-19
Posts: 4
Location: Tucson, AZ
Now that RFC 7151 has been published, (which defines the FTP HOST command), can WinSCP add support for it?

See https://tools.ietf.org/html/rfc7151 for details.

Thanks!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
Do you have a server that supports this, that I can use to test this against?
GeekyBob
[View user's profile]

Joined: 2014-04-19
Posts: 4
Location: Tucson, AZ
Sure, I can set up an FTP site for you for testing; I'll send you a private email so we can set that up.

FYI, the following blog post has a list of the FTP servers and clients which currently support the new FTP HOST command:

https://blogs.msdn.microsoft.com/robert_mcmurray/2014/03/14/rfc-7151-file-transfer-protocol-host-command-for-virtual-hosts/

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
This request has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1166
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
It's more difficult to implement that I original hoped. This requires FEAT command to be send before authentication, so that HOST support is detected.
GeekyBob
[View user's profile]

Joined: 2014-04-19
Posts: 4
Location: Tucson, AZ
Just a thought, but what a few FTP clients have been doing is adding an option to send the HOST command before logging in, or providing support for sending custom pre-login commands. For example, in WinSCP's Advanced Site Settings, you could modify the Protocol Options page to add another text box for pre-login commands, or add you could an On/Off option to send a HOST command before logging in.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
GeekyBob wrote:
Just a thought, but what a few FTP clients have been doing is adding an option to send the HOST command before logging in, or providing support for sending custom pre-login commands. For example, in WinSCP's Advanced Site Settings, you could modify the Protocol Options page to add another text box for pre-login commands, or add you could an On/Off option to send a HOST command before logging in.

Thanks for your suggestion. Do you know of any other use for "pre-login" commands, apart from HOST?
GeekyBob
[View user's profile]

Joined: 2014-04-19
Posts: 4
Location: Tucson, AZ
I can't think of a reason for pre-login commands other than HOST.

For what it's worth, here are screenshots from FTP Voyager and Beyond Compare which shows how they implemented an on/off option for the HOST command:

FTP Voyager:

https://public.dm2302.livefilestore.com/y2pFJFXNk3jfoRzKEbDqQUOrqyhmLmt_742xYDP8AVCHITTasDSQFprwf8IK7CX_hLHOP-1Waj1cuSOIQoVuCCDz2SyzAxi6ZKrk9zO464SKVs/FtpVoyager8.png

Beyond Compare:

https://public.dm2302.livefilestore.com/y2p7sX6fOPQEwwcOE7BqwPdhgKWe7e8XQSYiSKxzuJLpB64K-S54MFpJL6mpW5k6y-l8t-PPrzJZQi2XRDwepAiK2j1yviteazTVb6-NVBsR_c/BeyondCompare8.png

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
OK, I have implemented optional use of HOST command.

I have sent you an email with a development version of WinSCP to address you have used to register on this forum.
Advertisements

You can post new topics in this forum






Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License