LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-04-2012, 01:55 AM   #1
yousefzad
LQ Newbie
 
Registered: May 2012
Posts: 14

Rep: Reputation: Disabled
How to mget using ftp a directory and its contents and other sub-directories


Hi Everybody,

i am going to mget a folder by the name of ASYDB which contains files and other 3 Sub-Directories,

i used #mget -r ASYDB, but this command is downloading the ASYDB files not the Sub-directoires and their File.

please help me, and also i cold not find in LinuxQuestions.org website any link for new posts and thats why using reply instead which might be wrong way of questions.

thanks in Advance,
 
Old 11-04-2012, 11:40 PM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
Code:
wget -r ftp://user:pass@host.com/path_to/directory_name/
- will do the trick.

Quote:
Originally Posted by yousefzad View Post
Hi Everybody,

i am going to mget a folder by the name of ASYDB which contains files and other 3 Sub-Directories,

i used #mget -r ASYDB, but this command is downloading the ASYDB files not the Sub-directoires and their File.

please help me, and also i cold not find in LinuxQuestions.org website any link for new posts and thats why using reply instead which might be wrong way of questions.

thanks in Advance,

Last edited by rosehosting.com; 11-04-2012 at 11:43 PM.
 
  


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
[SOLVED] copy contents of many directories in a directory Nitesh Agarwal Linux - General 1 03-06-2012 11:04 AM
How to flatten contents of sub-directories down to one directory? jsstevenson Linux - General 3 09-13-2008 06:01 PM
ftp directory and contents Josephus Ross Programming 1 04-10-2007 09:56 AM
Ftp and mget phishman3579 Slackware 1 07-31-2003 12:12 PM
ftp mget Sammy2ooo Linux - Networking 2 05-06-2003 12:53 PM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
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