LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to get a whole directory through ftp? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-a-whole-directory-through-ftp-356860/)

fssengg 08-25-2005 09:47 AM

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

jxi 08-25-2005 11:02 AM

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.

afaiq 08-25-2005 11:13 AM

or you could cd into the directory and do

mget *


All times are GMT -5. The time now is 12:18 AM.