From owner-freebsd-hackers Sun Oct 3 10:35:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from arnold.neland.dk (mail.neland.dk [194.255.12.232]) by hub.freebsd.org (Postfix) with ESMTP id CA1A114CEA; Sun, 3 Oct 1999 10:35:06 -0700 (PDT) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.9.3/8.9.3) with ESMTP id TAA56514; Sun, 3 Oct 1999 19:34:50 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sun, 3 Oct 1999 19:34:48 +0200 (CEST) From: Leif Neland To: Barry Irwin Cc: Matthias Buelow , hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Fetch/wget/ftp: How to do a recursive ftp-get? In-Reply-To: <19991003074934.C47240@rucus.ru.ac.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > BTW.. although risking to be off-topic by miles, I always liked the way > > how NetBSD's ftp(1) (since 1.4 or so) implemented http and ftp URL > > fetching and thus eliminated the need for a fetch(1) command. > > Couldn't the FreeBSD ftp(1) be enhanced that way, [ObTopic, slime slime] > > to use fetch(3) for that purpose? > > This is where a useful tool like wget comes into play. Wget can be pretty > much used as an automated replacement for fetch, or FTP URL retrieval. Can > also be plugged into the whole ports system so that it can retrieve the > ports data packages. > But which tool can do a command-line, recursive ftp-get? wget can't, because it does not create subdirs below the one specified, i.e. if I do a wget -r ftp://webmaster:password@webserver.my.dom/htdocs/tree, it will create the dir webserver.my.dom/htdocs/tree, but not any subdomains to that. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message