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

martin

Re: Automation Script Failing

It is probably the space in the stored session name. You need to enclose it in quotes. You cannot do this with 4.1.9 from command-line, you need to use beta. Or rename the stored session to avoid the spaces.
ansonee

Automation Script Failing

I have a very basic script I wrote to SFTP a file to a client. For some reason it refuses to work:

winscp419 /command "option batch on" "option confirm off" "open H1N1 - MD" "put E:\jobs\Maryland\*.csv /*.*" "exit"

Am I missing something? I have double checked the directory names on the source and they are correct and the file does exist. Even when running directly from the command line, the script fails.