Computing.Net > Forums > Disk Operating System > FTP Automation in DOS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

FTP Automation in DOS

Reply to Message Icon

Name: Kev
Date: February 27, 2003 at 07:49:03 Pacific
OS: Windows NT 4.0
CPU/Ram: ?
Comment:

I would like to open an ftp session in dos via a batch file to download virus signature updates. I want to add username and password to the batch file so that I don't have to enter the details manually on a daily basis.
Does anyone know how I can automate username and password in a dos batch file for ftp?



Sponsored Link
Ads by Google

Response Number 1
Name: Secret_Doom
Date: February 27, 2003 at 10:21:18 Pacific
Reply:

That is described in my FAQ:

FAQ #23 - Make a batch to automatically get file(s) from a FTP server

Ignore the message on the popup box when entering the site, that FAQ is appliable to NT systems as well as Win9x.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


0

Response Number 2
Name: Soedesh
Date: March 4, 2003 at 19:14:45 Pacific
Reply:

The FTP client that comes standard with Windows supports input from a textfile.
Your batch file only needs this line:

FTP -g:ftp.txt

Where ftp.txt is the name of the input file, which contains all your FTP commands, login, password etc.

So the solution that is described above is correct but this is more simple....

BTW. Read my post about an automated IP poster here:
http://www.computing.net/dos/wwwboard/forum/12516.html


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: FTP Automation in DOS

Need help in DOS ftp www.computing.net/answers/dos/need-help-in-dos-ftp-/2085.html

FTP in Dos www.computing.net/answers/dos/ftp-in-dos/5298.html

backup in dos www.computing.net/answers/dos/backup-in-dos/12934.html