ftp download file

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top