I want to download only a part of a file using the 'GetFileById' SharePoint REST api but I don't not see any references in the documentation about support for partial file download.

I tried using HTTP 'Range' header (Adding to the HTTP headers the following header: 'Range': 'bytes=0-1023'), but it still downloaded the entire file. Also, when I received the file, I did not see 'Accept-Ranges' as part of the server's answer, which also makes me believe it is not supported.

Does someone know if this feature is supported and in this case how it can be implemented?

If it makes any difference for the answer, I am using SharePoint Online.

  • Update: I received an official answer, it is not supported (for now..) – Asafm Nov 10 '16 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.