Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



FTP Upload batch file doesn't work properly in Task Scheduler

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-02-2012
Member
 
Join Date: Feb 2012
Posts: 1
FTP Upload batch file doesn't work properly in Task Scheduler

Can anyone please help advice me on how to solve this problem?
I wrote a batch file for ftp upload to a sharepoint server. I tested it manually and it works fine (on both windows XP and windows server 2008). I want it to run daily so I set it in the task scheduler. It runs, however, but it does not upload any files.
I have attached the pictures in the attachment (my workstation has no photo editing software or even paint so I cant attach them as pictures).
The top picture is when I run it manually, and the bottom is when I run using the task scheduler. For some reason it doesn't upload any files because the argument after 'mput' is blank?
Please help.

Attached Files
File Type: doc error.doc (545.0 KB, 101 views)
Reply With Quote
  #2  
Old 09-02-2012
Member
 
Join Date: Dec 2007
Posts: 2,273
Re: FTP Upload batch file doesn't work properly in Task Scheduler

I have heard that scheduled Tasks run under the 'Local System' account wouldn't have any access to the remote computer over the network. You need to run it with an account that does. Change the "run as" in the properties of the scheduled task. Task Scheduler service --> Properties --> Log on (tab) ...
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "FTP Upload batch file doesn't work properly in Task Scheduler"
Thread Thread Starter Forum Replies Last Post
Task Schedule batch file donator Vista Help 6 15-02-2010 06:48 PM
Windows Vista Task Scheduler for file monitor Kamran Windows Software 3 03-06-2009 07:08 PM
Problems running batch file as scheduled task pete0085 Windows Server Help 7 01-01-2009 03:15 PM
Windows scheduler: Running a batch file as another user? Andrew Hodgson Windows Server Help 9 10-03-2008 09:48 AM
Task Scheduler and Robocopy Batch Job bobneedshelp Vista Help 5 29-11-2007 09:58 PM


All times are GMT +5.5. The time now is 10:49 PM.