wildcard usage in fetch

Jerry McAllister jerrymc at msu.edu
Wed Aug 22 08:08:41 PDT 2007


On Tue, Aug 21, 2007 at 04:04:47PM -0700, Philip Hallstrom 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?

I have used wildcards with no problem with FTP, but only within a
single directory at a time.   I have never used it in a recursive 
situation like you indicate, so, don't know about that.

////jerry

> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list