Topic "percentage sign encoding"

Author Message
Guest




I have a password : Ab%4d(e6

I also have batch file which has the following line

WinSCP /console /command "option batch on" "option confirm off" "open ftp://username:Ab%254d(e6@example.com"

I encoded % to %25.

But it shows as :

WinSCP /console /command "option batch on" "option confirm off" "open ftp://username:Abd4d(e6@example.com"

so instead of % the %25 becomes d

I would really appreciate for your help

Thanks
QZ
Guest




My bad, the way to do it is

WinSCP /console /command "option batch on" "option confirm off" "open ftp://username:Ab%%4d(e6@example.com"

I need to encode % as %%.
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