Re: wildcard usage in fetch

2007-08-23 Thread [EMAIL PROTECTED]
On 21/08/07, fbsd2 <[EMAIL PROTECTED]> wrote:
>
>
> fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/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?

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wildcard usage in fetch

2007-08-22 Thread Jerry McAllister
On Tue, Aug 21, 2007 at 04:04:47PM -0700, Philip Hallstrom wrote:

> >fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wildcard usage in fetch

2007-08-21 Thread Rakhesh Sasidharan



fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/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/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wildcard usage in fetch

2007-08-21 Thread Philip Hallstrom

fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"