[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ftp script



Hello,

I have to ftp a lot of files from a server,

I have a list of the files,
 is there a way to write a scrip which:

a) connects to the ftp addres
b) logs in via. username and password
c) downloads each file (I'll use grep and awk to build this part)
d) logs off

basically something like

ftp 10.0.0.9
username: ahbaid
password: ****
get a.txt
get b.txt
get c.txt
quit

any ideas are welcome,

thanks

Ahbaid.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]