Need example of login using WinSCP.exe; username & password
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 ?