Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mget in ncftp

Status
Not open for further replies.

MatthewP

Programmer
Jan 16, 2001
176
GB
I'd like to be able to ftp an entire web site to it's new server in one go using ncftp, but using 'mget *' only gets the regular files, and I'd like to get the sub-directories too. Do I have to execute this command in each directory, or is there some way I can get all the sub directories too? Can ncftp be scripted somehow to do this?

Thanks,
Matt.
 
ncftp doesn't have an explicit mget command. Just use get. ncftp's get command has a lot more functionality, including a "-R" option for recursive gets.

run ncftp (even without connecting) and issue the command "help get" for more info. Perfection in engineering does not happen when there is nothing more to add. Rather it happens when there is nothing more to take away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top