Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 08:47:51 -0500
From:      Lucas Bergman <lucas@slb.to>
To:        Keith Spencer <bsd2000au@yahoo.com.au>
Cc:        questions@freebsd.org
Subject:   Re: how to ftp download a dir tree
Message-ID:  <20010928084751.B22389@comp04.prc.uic.edu>
In-Reply-To: <20010928052107.27432.qmail@web12002.mail.yahoo.com>; from bsd2000au@yahoo.com.au on Fri, Sep 28, 2001 at 03:21:07PM %2B1000
References:  <20010928052107.27432.qmail@web12002.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I can't recall the command to mget all including the directory tree.
> I had to tar it but I cant recall.

Quoting ftp(1), line 206-209:

  Note: mget and mput are not meant to transfer entire directo-
  ry subtrees of files.  That can be done by transferring a
  tar(1) archive of the subtree (in binary mode).

Some FTP daemons (WU comes to mind) allow tar'ing and/or gzip'ing
directory trees on the fly.  Or, you can build wget, or one of the
many programs like it, and use that.

Lucas

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?20010928084751.B22389>