Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file not triggering the ftp job

Status
Not open for further replies.

mohebk

MIS
Aug 23, 2005
139
US
Hi (Using WIN 2K server)
I have this batch job that it should trigger another ftp.bat job but it is not working. The initial job works to the line exactly before the ftp step the the ftp does not really start. Can you please see if i am missing anything.

ftp -s:c:\apps\apc\apcftp_hp.bat


Thanks a lot.

Mo
 
Should you set it to:

c:\%systemroot%\system32\ftp -s:c:\apps\apc\apcftp_hp.bat


I dunno, but it may just not know where the FTP function lives.
C:\Windows\System32
C:\Winnt\System32

Either one of those most likely, but use %systemroot% and you will go wherever you need automatically.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top