WinSCP + Task scheduler

Advertisement

DocSpencer
Guest

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum