cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: ftp upload - file glob?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Jan 2003 21:21:42 +0100 (MET)

On Fri, 17 Jan 2003, Brendan Macmillan wrote:

> Thanks for creating curl - seems pretty cool. I need something like this to
> upload files to an ftp server, via a Squid HTTP proxy.
>
> Just one question/comment: the upload syntax only works with a single file
> (ie no globbing). I guess the way to do recursive directory uploads is to
> write a script to do this... but does curl already have this functionality
> built-in?

Right, recursive upload (or download) is not something curl does. It has in
fact no understand or knowledge at all about the contents it downloads.

The smoothest way to do this would probably involve your favourite script
language and a libcurl binding...!

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
Received on 2003-01-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET