LinuxQuestions.org
Visit Jeremy's Blog.
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 08-25-2005, 09:47 AM   #1
fssengg
Member
 
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.

thnakx
 
Old 08-25-2005, 11:02 AM   #2
jxi
Member
 
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 some.server.org::/path/tocopy /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
afaiq
Member
 
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 *
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration