Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-25-2005, 09:47 AM   #1
Registered: Feb 2005
Location: Kerala(God's own country)
Distribution: Redhat-8
Posts: 35

Rep: Reputation: 15
how to get a whole directory through ftp?

hai all

is there any way to get a full directory through ftp .if yes what is the command?
.get command is not working.

Old 08-25-2005, 11:02 AM   #2
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
do you have rsync installed?
it may be possible with ftp but rsync was recommended at a recent lug meeting here as being superior.

start out with:
rsync -av --dry-run /your/local/destinationPath

this won't do any damage but will give a total (ibelieve) byte count of what actually would be downloaded.

then remove --dry-run to get results.
Old 08-25-2005, 11:13 AM   #3
Registered: Jul 2003
Location: Bay Area, CA
Distribution: SuSE 10.2
Posts: 33

Rep: Reputation: 15
or you could cd into the directory and do

mget *


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
is there the x directory in an ftp server? kpachopoulos Programming 1 07-24-2005 03:44 PM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 10:55 PM
Can not change directory when ftp tradewind Linux - Newbie 2 06-09-2004 05:03 AM
ftp centeral directory madfitz Linux - Networking 0 06-20-2003 12:59 PM
ftp-ing a directory princenux Linux - Networking 2 06-12-2003 08:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration