Problem with a % in the Passphrase

Advertisement

Mirok
Guest

Problem with a % in the Passphrase

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

Reply with quote

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

Re: Problem with a % in the Passphrase

You need to URL-encode the % into %25.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum