Topic "Problem with a % in the Passphrase"

Author Message
Mirok

Guest


Hi
I have problem with the Password. I hope u can help me.
Because there is a % inside and then do the script not working,
can u tell me what i can do?

For example %Pass is my password.

Scriptcode:

option batch on
option confirm off
open BrettingR:%Pass@ftp.server.com
cd /Datacapture/OPEL
option transfer binary
get *.* d:\
rm *.*
close
exit

Mirok
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
You need to URL-encode the % into %25.
_________________
Martin Prikryl
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