Topic "Bug: Whitespace on host names should be trimmed."

Author Message


If you leave a trailing space on a hostname(" ") by accident, WinSCP will error out and say the doamin is unable to be resolved.

WinSCP should trim whitespace on hostnames. I spent a good hour troubleshooting my DNS when I got the error. I finally realized that WinSCP couldn't resolve the domain because there was a trailing blank space after the hostname left over from cutting/pasting it into WinSCP.

Maybe it's user error (hah!) but WinSCP should handle it gracefully.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
OK, no problem.
Martin Prikryl

You can post new topics in this forum

Search Site

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License