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.
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.