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

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
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 @).

Reply with quote

Advertisement

You can post new topics in this forum