Post a reply

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

Mikethegreek

Look at that, I forgot to log in before posting :p

Mike
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