Date: Tue, 1 May 2001 02:56:29 -0700 From: Sean Chittenden <sean-freebsd-hackers@chittenden.org> To: freebsd-hackers@freebsd.org Subject: Fetching an index of an FTP site using fetch... Message-ID: <20010501025629.E15203@rand.tgd.net> In-Reply-To: <20010501022832.C15203@rand.tgd.net>; from "sean@chittenden.org" on Tue, May 01, 2001 at = 02:28:32AM References: <20010501022832.C15203@rand.tgd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--mR8QP4gmHujQHb1c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anyone have any ideas as far as a way in which it'd be possible to fetch a directory index using fetch? If I try to toss it into mirror mode (-m|-M), it returns the following error: fetch: fetch.out: Syntax error, command unrecognized Anyone have any ideas? The full command that I was trying is: fetch -p -m ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/ fetch -m ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/ fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/ No dice on any of them. It seems like it should be possible to get an INDEX file of sorts out of fetch, but aparently not. ::sigh:: -sc PS I've looked through the source of fetch and libfetch, and it seems like there's some stub code that hasn't been flushed out completely. Anyone know of any plans to finish this up? /* * List a directory */ extern void warnx(char *, ...); struct url_ent * fetchListFTP(struct url *url, char *flags) { warnx("fetchListFTP(): not implemented"); return NULL; } --=20 Sean Chittenden --mR8QP4gmHujQHb1c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden <sean@chittenden.org> iEYEARECAAYFAjruiEwACgkQn09c7x7d+q1vGACgh14aVnMuYO9A1gUVsT7wl6mp 86MAoNcHYpYSt6gaAYWDuBVRgSkRlXZX =FVMA -----END PGP SIGNATURE----- --mR8QP4gmHujQHb1c-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010501025629.E15203>