cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Rest 0 command not supported

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Apr 2016 08:22:43 +0200 (CEST)

On Wed, 20 Apr 2016, Sasikala Raju wrote:

> We are facing this error while getting the size of a file . Why do we need
> REST 0 command after size ?

This comment in the code explains it:

     /* Determine if server can respond to REST command and therefore
        whether it supports range */

I'm assuing you ased for a "NOBODY" transfer.

> Lib curl version : 7.21

Approaching six years old: "curl version 7.21.0 was released on June 16 2010.
The following 18 security problems are known to exist in this version."

   https://curl.haxx.se/docs/vuln-7.21.0.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-20