Win2k3 svr Scheduled task doesn't work when user logged off

Advertisement

Guest

Win2k3 svr Scheduled task doesn't work when user logged off

Hi

Using scripting run through a batch file on a windows 2k3 server.

Batch: (run.bat)

"c:\program files\winscp\winscp.com" /script=D:\FTP-export\ftp-files\Script\script.txt

Script.txt:

option batch on
option confirm off
open ftp://user:password@ftpserver -passive
put D:\FTP-export\ftp-files\Files\NN_bookings.txt
put D:\FTP-export\ftp-files\Files\NN_Sub_Skills.txt
exit


It works great when I am logged on to the server, and run it manually.
Also when setup with scheduled task it works as long as I am logged on.
When logging off from the server no transfer takes place at all.
What have I done wrong?

Kind regards, Mike

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum