cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: using wildcard to pull all files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 May 2009 11:01:10 +0200 (CEST)

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