LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-29-2003, 12:04 PM   #1
oskernel
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
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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
 
  


Reply


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


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

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