Topic "WinSCP + Task scheduler"

Author Message


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 but all i get is a 0x1

I used the arguments:

/command "option batch abort" "option confirm off" "open -explicittls ftp://user:" "/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... Sad

Anyone an idea??

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
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.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License