LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   about lftp (https://www.linuxquestions.org/questions/linux-software-2/about-lftp-109984/)

oskernel 10-29-2003 12:04 PM

about lftp
 
how to download a hole directory in lftp ?
(we can use get -r dir_name in ncftp.)

hw-tph 10-29-2003 02:14 PM

To grab all the files in a directory type mget * (mget for multiple get). You can use different wildcard combinations, like mget *.bz2 or mget ntphpbb2_2003102?.sql.bz2 (where the questionmark indicates a single character wildcard). mput works the same but for uploading.

To download a directory recursively and recreate the directory structure you use mirror. To upload a directory (and its contents and subdirs) you use mirror -R.

Håkan


All times are GMT -5. The time now is 12:49 AM.