Post a reply

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

martin

Re: Where to insert password in batch file

Did you find why you were not able to type the password? If not, please send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Greasy2

Please close thread

Found the answer.
Greasy2

Where to insert password in batch file

In this command line on the scripting page...

winscp.com /command "option batch abort" "option confirm off" "open sftp://user@example.com" "put examplefile.txt /home/user/" "exit"


Where do you put the password? When I execute the command I connect to my FTP server but it asks me for a password which I can't input in the dos box on my pc for some reason, either by using the paste command or by typing. The cursor doesn't move. Is this normal?