Support chunk upload (resumable upload) to upload large files

This repository was archived by the owner on Jul 24, 2021. It is now read-only.

This repository was archived by the owner on Jul 24, 2021. It is now read-only.

@fcamel

Description

I tried to upload a large file (say, 500MB) and got "413 Client Error: Request Entity Too Large". After reading the source codes, it looks like python-onedrive does not support chunked upload.

The python SDKs of Dropbox and Google Drive support uploading files via chunks to provide reliable upload for large files. Is it possible to support such feature? Or is it limited by OneDrive's API? I read the official documents of OneDrive for a while and not find any API for chunked upload. I only found that the upload limit for one file is 2GB.

Thanks.