I'm trying to download a large file in chunks using range header. Lately, I figured that
{sharepoint url}/_api/web/GetFileByServerRelativeUrl('{file relative path}')/$value
does not support chunking.
As the one drive API supports chunking, I'm able to use
{share point url}/_api/v2.0/drives/{drive id}/items/{item id}/content
But, I'm not able to retrieve the drive id and item id using CSOM so that I can pass them to this REST API. These drive id's and item id's are not the guid which is available and they look something like this
drive id : b!yEbPesQM2kwnhqNmBNjE_1-wTmg387dPlEh45G43I3QSpwqY9AihS4Llo6ayiX4f item id : 01NZ3H4R8KDMNJKMULJZQKTRSAIHZEEQM8
Any leads will be highly appreciated.