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 running it as local admin user and I tried everything like placing the directory details in Start In option, running 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
- - , .
.
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 263
تاريخ: چهارشنبه
23 تير
1395 ساعت: 21:36