I need to create a script that would do the following:
1. connect to a remote computer using FTP. The remote computer uses IIS
2. download a file from the remote computer
3. upload a response based on the downloaded file

How can I do this without using any 3rd party programs?

Re: FTP-script? by Torgeir

Torgeir
Thu Apr 29 14:44:11 CDT 2004

Zeke Galama wrote:

> I need to create a script that would do the following:
> 1. connect to a remote computer using FTP. The remote computer uses IIS
> 2. download a file from the remote computer
> 3. upload a response based on the downloaded file
>
> How can I do this without using any 3rd party programs?
>
>
You can run ftp.exe from command line/batch/vbscript, using an input
file with the -s command line parameter:

http://groups.google.com/groups?th=dc0c0f2ec58712ff

http://groups.google.com/groups?th=d4a8746457a4297f


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx