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;
}


-- 
Sean Chittenden

PGP signature

Reply via email to