You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
I'm writing onedrivefs in python3 this onedrive sdk, i'm referring existing code of onedrive-fuse-fs in that read fuction has used this code
def read(self, path, size, offset):
path_id = self._resolve(path)
return self.api.get(path_id, byte_range='{}-{}'.format(offset, offset+size))
i want to implement similar thing i've used download function from http-provider file that look like :
i'm downloading same file in that folder and folder dictionary gives the item id, but its not working as expected invalid arguement and File type unknown (application/octet-stream) is not supported such errors showing up.
i'm attaching that file where it is implemented. onedrivefs.txt
The text was updated successfully, but these errors were encountered:
I'm writing onedrivefs in python3 this onedrive sdk, i'm referring existing code of onedrive-fuse-fs in that read fuction has used this code
def read(self, path, size, offset):
path_id = self._resolve(path)
return self.api.get(path_id, byte_range='{}-{}'.format(offset, offset+size))
i want to implement similar thing i've used download function from http-provider file that look like :
def read(self, path, length, offset):
return authed_usr.client.item(id=authed_usr.folder[path]).download(path)
i'm downloading same file in that folder and folder dictionary gives the item id, but its not working as expected invalid arguement and File type unknown (application/octet-stream) is not supported such errors showing up.
i'm attaching that file where it is implemented.
onedrivefs.txt
The text was updated successfully, but these errors were encountered: