See if you can find an example a.bat file on the internet to do this. Look for a Windows 2000 script for communicating with an FTP server.
You will need the IP address, a valid user id, and password for the FTP server.
The .bat file needs this command:
FTP xxx.xxx.xxx.xxx
The FTP command has an input file and an output file. The input file looks like:
xxxxxxxx yyyyyyyy (xxxxxxxx = user id, yyyyyyyy = password)
CD xxxxxxxx (folder on FTP server when desired file resides)
GET xxxxxx.xxx c:\yyyyyyyyy.xxx (xxxxxx.xxx is file in folder xxxxxxxx that you want to download and c:\yyyyyyyyy is you destination flat file on your system)
The output file in some cases is a print out and can be directed to an output .txt file
This is a general description of how irt works. Please find more information on the Internet and good luck.
Danny McMillian
EnjoyLife <
[email protected]> wrote:
Thanks eagleraplh...shall try that.
I now need to figure out a way to write a Windows 2000 script for the FTP part.