Thanks it worked...I also have to use the option '-explicitssl' I found out.
I have a seeion defined but I don't save the password.
I have a test script file called test1.txt in it is:
open Mysession1
put M:\FTPtest\testftp.txt
exit
When I do: C:\Program Files\WinSCP>winscp.com /command /script="m:\FTPtest\test1.txt"
it will prompt for my password. Is there a way to include the password in the script file?
Thanks