Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2009 17:32:53 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        "O. Hartmann" <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:  <49D39735.6050204@unsane.co.uk>
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
On 1/4/09 17:07, O. Hartmann wrote:
> Hello.
>
> I run into a problem I can not solve. 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.
>
> Is there a simple way to perform such a task with FreeBSD's own tools
> (I try to avoid installing 'wget' and sibblings)? I need to keep it
> simple, task should be performed via cronjob.
>
> Please eMail me.
>
Without writing a script to parse the output of fetch I dont think its
possible (fetch the index via http, parse for dirs, decend into dir,
rinse and repeat.)  Looking at
http://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html which I
would expect to suggest FreeBSDs own tools, suggests various ports to use.

Vince


> Thanks in advance,
>
> Oliver
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"




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