Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-29-2003, 12:04 PM   #1
LQ Newbie
Registered: Sep 2003
Location: China
Posts: 25

Rep: Reputation: 15
about lftp

how to download a hole directory in lftp ?
(we can use get -r dir_name in ncftp.)
Old 10-29-2003, 02:14 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp problem bipins1979 Linux - General 1 06-21-2006 10:20 AM
lftp Problem / Question LinuxGeek Linux - Software 5 11-02-2004 10:55 PM
LFTP , mget question sopiaz57 Linux - General 1 09-03-2004 12:09 PM
lftp HELP knappster Linux - Software 2 08-03-2004 10:34 AM
lftp Scripting kittani Linux - Software 1 06-19-2004 11:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration