Link to home
Start Free TrialLog in
Avatar of jomfra
jomfra

asked on

ftp command to copy multiple files

hello
   
        I HAVE 50 FILES ON A UNIX SERVER(1)
HOW DO I TRANSFER ALL FILES TO UNIX SERVER(2) USING FTP
I TRIED MGET BUT YOU HAVE TO ENTER YES AFTER EACH FILE
ALL FILE I NEED TO TRANSFER HAS .sql AS THE ENTERSION
THANKS
ASKER CERTIFIED SOLUTION
Avatar of glassd
glassd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
or type

prompt

to turn off interactive prompt.
Avatar of XoF
XoF

or use wget instead of the ftp command.

wget -r user:pass@ftp://server1/path/to/dir

HTH,
-XoF-