cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl upload directories

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Nov 2009 11:59:04 +0100 (CET)

On Tue, 10 Nov 2009, K Seb wrote:

> I'd like to use curl to recursively upload directorites to a server. It
> seems I can only upload a file. Is there a way to upload a directoy and the
> files inside the directory while preserving all names, and also, if I upload
> again to add the additional files?

Not with curl, you'd have to write a script that uses curl for that.

Or use a tool written to do it. rsync comes to mind...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-20