Topic "P@sswords in scripting"

Author Message
Kaydet81

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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
Guest




prikryl wrote:
You need to URL-encode the @ to %40.

Thank you, that works great!
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