libcurl and getting mutiple files
| From: | bike at intenseproductions dot com | Date: | Sat, 04 Oct 2003 02:25:33 +0000 |
| Subject: | libcurl and getting mutiple files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165012@lists.php.net to get a copy of this message | ||
i know that with command line curl i can do this:
% curl http://www.server.com/file[01-10].txt
and it will get all files: file01.txt - file10.txt
how can i achive this with libcurl?
when i do
curl_setopt($ch, CURLOPT_URL, "http://www.server.com/file[01-10].txt");
it always bombs....is there a certain way of doing this? or can it even be
done in libcurl?
(i'm using php libcurl).
thanks in advance!