I have a job that runs fine when I run it manually. It basically creates text files and ftp's them to the remote server. But when I schedule the job in Win Task Scheduler it creates the text file but the ftp fails. I am ruing it as local admin user and I tried everything like placing the directory details in Start In option, ruing with high privileges, using full path names etc. The job is scheduled in Windows 2003 and it runs fine. Can anyone help.
The batch file I use is
ftp -n -s:ftpCommand.txt ftp.server
and the ftpCommand.txt is as follows
user userid
password
cd ftpDirectory
put "FullPathforSample.txt"
bye
TIA
برچسب:
نویسنده: استخدام کار