Topic "Trouble scheduling FTP session with Windows task"

Author Message
Barlo

Guest


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.
log.RAR (4.28 KB) [Download]

Description: This rar include tow files.

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Barlo
[View user's profile]

Joined: 2012-09-03
Posts: 9
prikryl wrote:
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.


Email was sent.
Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
The next version will record reason of the failure in the session log:
http://winscp.net/tracker/show_bug.cgi?id=910
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License