Where to insert password in batch file

Advertisement

Greasy2
Guest

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum