curl-library
Re: Rest 0 command not supported
Date: Wed, 20 Apr 2016 02:28:17 -0400
On 4/19/2016 10:15 PM, Sasikala Raju wrote:
> We are facing this error while getting the size of a file . Why do we
> need REST 0 command after size ?
>
> REST command is not supported by server ? Or we have sent REST command
> in a place where it should not have ?
>
> Please let me how to proceed here .
> Lib curl version : 7.21
>
> 4004 1fa4 04/19 15:52:16 104 0000: SIZE
> WinX64_11.0.0B80-SP3_SP3-HotFix-102.exe
>
> 4004 1fa4 04/19 15:52:16 104 0000: 213 903488 <tel:213%20903488>
>
> 4004 1fa4 04/19 15:52:16 104 0000: REST 0
>
> 4004 1fa4 04/19 15:52:17 104 0000: 500 Command not supported.
>
> 4004 1fa4 04/19 15:52:17 104 0000: SIZE
> WinX64_11.0.0B80-SP3_SP3-HotFix-102.exe
>
> 4004 1fa4 04/19 15:52:17 104 0000: 213 903488 <tel:213%20903488>
>
> 4004 1fa4 04/19 15:52:17 104 0000: REST 0
>
> 4004 1fa4 04/19 15:52:17 104 0000: 500 Command not supported.
>
>
It's acceptable for a server to reply that way to REST 0 if the REST
command is not supported. It means transfers cannot be resumed. Are you
seeing an error in libcurl? 7.21 is almost 6 years old, please consider
upgrading.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-20