Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Socko71

Thanks it worked...I also have to use the option '-explicitssl' I found out.
martin

Re: Include password in script file -Noobie-

Either save it in the stored session Mysession1 or specify the session completely (including the password) in the script:
https://winscp.net/eng/docs/session_url
Socko71

Include password in script file -Noobie-

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