curl-users
Re: using wildcard to pull all files
Date: Mon, 4 May 2009 03:23:07 -0700 (PDT)
--- On Mon, 5/4/09, Daniel Stenberg <daniel_at_haxx.se> wrote:
> From: Daniel Stenberg <daniel_at_haxx.se>
> Subject: Re: using wildcard to pull all files
> To: "the curl tool" <curl-users_at_cool.haxx.se>
> Date: Monday, May 4, 2009, 2:01 AM
> On Mon, 4 May 2009, Sivakumar P
> wrote:
>
> > I use libcurl v 7.19.4. The functionality
> require pulling all files from FTP Server using FTP over ssl
> in unix environment. I could not use wildcard (*.*)
> Pls suggest how to use wildcards.
>
> 1) Get the list of files
>
> 2) run the wildcard check locally with your required
> wildcard functionality
>
> 3) get each file one after another that matches your
> wildcard function
>
> You'll probably notice that there's no single "proper" way
> to do this.
>
> --
> / daniel.haxx.se
I think TFTP, for example, doesn't even allow to get file list.
Regards,
Sergei.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-05-04