Topic "Where to insert password in batch file"

Author Message
Greasy2

Guest


In this command line on the scripting page...

Code:
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?
Greasy2

Guest


Found the answer.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License