May 17
Technical

Sometime, you may want to transfer a lot of files from server to another server, you may use ftp client (command-line) to transfer. However, default ftp client is cannot transfer multiple file in multiple directory (yes, you can use `mget` command but you needs to create a directory at first). One solution that you can copy recursive from one to one is transfer a file by `wget` command.

  • wget -r --passive-ftp ftp://username:password@ftp.yourhost.com/directory

This command will transfer some files to current local directory and also create subdirectory. :-)


Posted by Scalopus+

Defined tags for this entry: , , ,

Last modified on 2008-05-17 18:04