cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: New to Curkl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 May 2007 14:07:49 +0200 (CEST)

On Wed, 2 May 2007, Woody Gingery wrote:

> I am new to the Curl tool and have a question regarding sending a Gzip'ed
> file via Curl. We have a Perl script that calls Curl to send a file via the
> HTTPS protocol. The -F forms options is used to specify various options
> (userid, password, file name, etc). However, the file is very large and we
> would like to send it zipped. Once we zipped it, the receiver could not open
> the file. What is the proper option and syntax to specify the file has been
> gzip'ed?

There is no such generic way to tell that to the server. A common practise is
to use a .gz extension on the file name.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-05-02