cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp enhancement - FTP wildcard download

From: Pavel Raiskup <xraisk00_at_gmail.com>
Date: Sat, 02 Jan 2010 00:26:38 +0100

Finishing the idea .. http://curl.haxx.se/mail/lib-2010-01/0010.html

Fnmatch doesn't giving information about matched part of the string, just
returns bool matched/not. And if curl client is enhanced by wildcard too
...

$ curl ftp://example.tld/*-*-2009.txt -o "file_#2_#1_2009.txt"

could be small problem. In that case matched string have to be couted by
the client. If I implement fnmatch by myself, there is possible return
information about
matched parts.

Pavel
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-02