Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 20:47:49 -0500
From:      "Stephen Hilton" <nospam@hiltonbsd.com>
To:        "Keith Spencer" <bsd2000au@yahoo.com.au>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: how to ftp download a dir tree
Message-ID:  <KPEMJADBBBFPDEDOIOMBMEPGDAAA.nospam@hiltonbsd.com>
In-Reply-To: <20010928052107.27432.qmail@web12002.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----Original Message-----
> Hi all,
> I can't recall the command to mget all including the
> directory tree .
> I had to tar it but I cant recall.
> Thanks
> Keith


I would install the ncftp3 port or package on your system for this kind of
task. I use ncftp3 quite a bit and am very pleased with its operation.

With ncftp installed and connected to the site you want to download a
sub-directory called "srcfiles" from:

ncftp> mget -R srcfiles

The -R argument tells the ncftp file transfer to act recursively

From the FreeBSD 4.3 FTP man page:
Note: mget and mput are not meant to transfer entire directory subtrees of
files.  That can be done by transferring a tar(1) archive of the subtree (in
binary mode).

Regards,

Stephen Hilton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KPEMJADBBBFPDEDOIOMBMEPGDAAA.nospam>