Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

TimU

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.
tlockhart

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?