P@sswords in scripting

Advertisement

Kaydet81
Guest

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

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 @).
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum