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

Guest

Re: P@sswords in scripting

martin wrote:

You need to URL-encode the @ to %40.

Thank you, that works great!
martin

Re: P@sswords in scripting

Kaydet81 wrote:

I am using WinSCP 3.7.6, and cannot supply my password in the script, as the password has an '@' in it (changing the password is not an option). Is there a way to escape the @? I tried user:p\@ssword@server, which does not work.

You need to URL-encode the @ to %40. Or use version 3.8, which uses the last @ as username/hostname separator (prior versions used the first @).
Kaydet81

P@sswords in scripting

I am using WinSCP 3.7.6, and cannot supply my password in the script, as the password has an '@' in it (changing the password is not an option). Is there a way to escape the @? I tried user:p\@ssword@server, which does not work.