Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipart upload support #1

Open
dustinbolton opened this issue Mar 24, 2017 · 1 comment
Open

Multipart upload support #1

dustinbolton opened this issue Mar 24, 2017 · 1 comment

Comments

@dustinbolton
Copy link

Does this library support multipart uploads? I need to be able to break up uploading across multiple page loads for large files. OneDrive supports this as seen here: https://dev.onedrive.com/items/upload_post.htm

I need this because my app runs on users' shared hosting accounts which tend to have unmodifiable maximum execution time limits and slow speeds so I need to be able to break it up. I do this with Amazon S3, Dropbox, Google Drive, Rackspace, etc within my app but I'd like to use this library to add OneDrive support but this is critical for my use case.

@kunalvarma05
Copy link
Owner

The SDK uses multipart body to upload the file. See Line 722 in Client.php. However, according to your use case, that involves chunking a large file into smaller parts and uploading it through multiple requests involves a separate endpoint: Uploading large files on OneDrive. This method can be used to create a session to upload a large file by splitting it into chunks, which is not supported at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants