Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: Trouble scheduling FTP session with Windows task

The next version will record reason of the failure in the session log:
https://winscp.net/tracker/910
Barlo

Re: Trouble scheduling FTP session with Windows task

Email was sent.
Thanks.
martin

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

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.