Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2009 23:38:52 -0700
From:      perryh@pluto.rain.com
To:        ohartman@zedat.fu-berlin.de
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?
Message-ID:  <49d45d7c./wDEMGr6x3pE39QQ%perryh@pluto.rain.com>
In-Reply-To: <49D39153.4020707@zedat.fu-berlin.de>
References:  <49D39153.4020707@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
"O. Hartmann" <ohartman@zedat.fu-berlin.de> wrote:
> I need to fetch a whole directory tree from a public remote site.
> The top level directory and its subdirectories are accessible via
> ftp:// and http:// so I tried fetch, but fetch does only retrieve
> data on file basis and does not copy a whole directory tree
> recursively. The remote site does not offer sftp/sshd for that
> purpose.

There's at least one ftp server (wuftpd) that will do it for you
on the server end.  All you have to do is "get {dirname}.tar".
(The .tar file won't appear in the directory listing, because
it's created on the fly.)

It might be worth a try, to see if the server of interest happens
to be set up this way.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49d45d7c./wDEMGr6x3pE39QQ%perryh>