wildcard usage in fetch

Philip Hallstrom freebsd at philip.pjkh.com
Tue Aug 21 16:12:04 PDT 2007


> 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.


More information about the freebsd-questions mailing list