Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Bug: Whitespace on host names should be trimmed.

OK, no problem.
afx114

Bug: Whitespace on host names should be trimmed.

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.