Topic "Need example of login using WinSCP.exe; username & password"

Author Message
jkappl

Guest


I have not been able to accomplish an unattended login with WInSCP.exe. Specifically there is no example of the command syntax to offer username and password in a cmd file. I can only get as far as
"C:\Program Files\WinSCP\winscp.exe" /console /command "option batch abort" "option confirm on" "open ftp://peak-books.com"
which asks me for username in the console window when run. I can answer interactively, but want to run this unattended. How do I put in username and password as a command ?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
Oldtimer

Guest


Like the OP said, there is no example of this in the documentation. So reading the docs again won't help.

Can anyone give an example of the open command with both user and password specified?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
But the syntax is shown there:
open [ sftp|ftp|scp:// ][ <user> [ :password ] @ ] <host> [ :<port> ]
_________________
Martin Prikryl
cinta

Guest


i need help to uploade filesonic using winscp when i am tray that show

batch abort
confirm off
Searching for host...



winscp.com /command "option batch abort" "option confirm off" "open myemail@domain.com:mypassword@ftp.filesonic.com" "put file.txt /" "exit"



thanks for fast respond..
cinta

Guest


i got answer


from http://winscp.net/eng/docs/session_url
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