wildcard usage in fetch

illoai at gmail.com illoai at gmail.com
Thu Aug 23 14:30:19 PDT 2007


On 21/08/07, fbsd2 <fbsd2 at a1poweruser.com> wrote:
>
>
> 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?

On an offhand guess, your shell is handling the wildcards.
Have you tried escaping them?

-- 
--


More information about the freebsd-questions mailing list