wildcard usage in fetch

Rakhesh Sasidharan rakhesh at rakhesh.com
Tue Aug 21 21:44:18 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.

I haven't done ftp'ing around in a while. But a long time ago, when I did, 
I used ncftp. That does wildcarding iirc.

Regards,
 				- Rakhesh
                                 http://rakhesh.com/


More information about the freebsd-questions mailing list