ftp download file

  • Thread starter Thread starter SAC
  • Start date Start date
S

SAC

I'd like to make code for downloading a file.

I have a script, but I don't know what to do with it.

Here's the script:

<UserNameHere>
<PasswordHere>
ascii
lcd c:\temp (your local folder)
cd /EDIIN/TRANPRO
Mput *
Delete LUFR_20070315030000.CSV (the file name)
quit

to run this I enter this at a command line:

ftp -i -s:c:\laufer.txt laufer.com

How would I put this into code?

Use shell?

Thanks.
 
Back
Top