Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2007 16:04:47 -0700 (PDT)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        fbsd2 <fbsd2@a1poweruser.com>
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: wildcard usage in fetch
Message-ID:  <20070821160431.A56007@bravo.pjkh.com>
In-Reply-To: <NBECLJEKGLBKHHFFANMBEEGBCGAA.fbsd2@a1poweruser.com>
References:  <NBECLJEKGLBKHHFFANMBEEGBCGAA.fbsd2@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> fetch -avrpAFU ftp://loginid:password@my.pics.com/IDX/ActivePhotos/*/*.*
>
> The /*/ directory is 2 positions in size and
> contains 00 through 99 as directory names.
> The *.* means all files in this directory.
>
> When I execute this I get logged in but get file
> not found or not available error message.
>
> Is wildcard usage not allowed in ftp?
>
> How would you suggest to accomplish downloading source file
> directory structure and their contents?

You might look into curl.  I know it has some wildcarding capabilities.



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