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: WinSCP + Task scheduler

Where did you take the command-line from?
This problem repeats far too often, so I'd really like to find out where do people take this wrong syntax from.
DocSpencer

WinSCP + Task scheduler

Hello everyone,

I'm trying to upload some files every xx hours from a server to another ftp using the windows task scheduler.
I made the task as shown in https://winscp.net/eng/docs/guide_schedule but all i get is a 0x1

I used the arguments:

/command "option batch abort" "option confirm off" "open -explicittls ftp://user: password@server.de:21" "/log=C:\log\winscplog.txt" "put c:\Verzeichnis\*.xml /" "exit"

So, the log file says the connection is ok, but the file wasn't uploaded... :(

Anyone an idea??

Doc