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

Author Message
afx114

Guest


If you leave a trailing space on a hostname("www.host.com ") 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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
OK, no problem.
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License