Trouble scheduling FTP session with Windows task

Advertisement

Barlo
Guest

Trouble scheduling FTP session with Windows task

Hi to everybody and thanks for reading.

I am trying to automatize the execution of my script with the windows task manager. I get success when I use my user account and the option Execute also when user is not logged in, is not checked. But is enougth to check this option to get fail. I would like to user system account but this is not working neither.

I include log file when success and log file when fail.

Here is the command line:
"C:\Program Files (x86)\WinSCP\winscp.com" /xmllog="C:\Program Files (x86)\WinSCP\meteo\log.xml" /log="C:\Program Files (x86)\WinSCP\meteo\log.txt" /script="C:\Program Files (x86)\WinSCP\meteo\meteo.txt"

Here is the script:
option batch abort
option confirm off
open meteo
option transfer binary
synchronize local "M:\606825\eTrabajo\PRE_ALERTAS\METEO\" / -criteria=size -filemask=>%mifecha%
close
exit

M: is a net unit.

Using WinSCP 4.0.8 (Compilacion 2438) on Windows Server 2008.

Thank you very much for your help.
Description: This rar include tow files.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Trouble scheduling FTP session with Windows task

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

You can post new topics in this forum