ftp -s:c:\ftp.cfg sample ftp.cfg file:
open mcafee.utmb.edu username password binary get pub/mcafee/upgrade/setup.exe c:\setup.exe bye :End of file You can also script this by echoing the get commands into the ftp.cfg file with a batch file, or creating the ftp.cfg file from a script and then calling the ftp -s:c:\ftp.cfg Hope this answers your question... Landon. -----Original Message----- From: Duane Boudreau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 10:37 AM To: NT 2000 Discussions Subject: Batch FTP Commands Hi All, Does anyone have a sample batch file that they wouldn't mind sharing that does FTP? I cant seem to figure out how to pass the username and password ftp and then specifying what files to transfer. Anyone have samples? TIA, Duane ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
