cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Uploading multiple files to FTP server using curl command line

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Jul 2003 08:56:53 +0200 (CEST)

On Fri, 25 Jul 2003, saratchandra kongara wrote:

> Is there a way to upload multiple files to a FTP server using the curl
> command. I want curl to reuse the same connection so the uploads will be
> faster.
>
> The -T/--upload-file option only supports one file at a time.
>
> Is there a command line option that allows me to list multiple source files
> (on the local machine) and corresponding destination paths (on the FTP
> server). Thanks.

No, there is no way to do that using the current curl. I think I have that
feature mentioned in the TODO file, as one I'd like to support one day.

I would greatly appreciate help with implementing this.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-28