Password Rules for SFTP Script?

Advertisement

tlockhart
Joined:
Posts:
1

Password Rules for SFTP Script?

WinSCP Version 4.3.5 (Build 1463)
Microsoft Windows 7

I am creating an SFTP script that will connect to an external server. I have been supplied with a userid and password, however the syntax of the connection statment is:

open sftp://<userid>:<password>@255.255.255.255

However, I was wondering if the password contains an "@" as in password= f@of@o, will this cause a problem with the command as @ starts the beginning of the IP address. Can anyone advise if it is possible to write a script, which contains an @ in the password?

Reply with quote

TimU
Joined:
Posts:
25
Location:
Sydney

If you can use (or workout how to use) that statement from a regular WinSCP console (run "WinSCP.exe /console"), then there should be no reason you can't use it in a script.

Reply with quote

Advertisement

You can post new topics in this forum