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

Update for dropbox api v2 #346

Closed
wants to merge 5 commits into from
Closed

Update for dropbox api v2 #346

wants to merge 5 commits into from

Conversation

scps950707
Copy link

I fix three problems I met,

  1. From dropbox-python-sdk:"File upload endpoints no longer accept file-like objects. Only byte strings are allowed", so I modify the argument of files_upload
  2. From the discussion here, files_get_metadata API v2 is not allowed to check root folder's metadata, so I replace it with files_list_folder to modify listdir function
  3. According to official doc, files_upload isn't used to upload single file larger than 150MB, so I use files_upload_session_start,files_upload_session_append and files_upload_session_finish to implement large file upload, I tested files range from 600~800MB and works well, resolves issue Can't upload large files (>200 MB) to Dropbox #301

@scps950707
Copy link
Author

Sorry, I didn't find out these works done in #302

@scps950707 scps950707 closed this Jun 29, 2017
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

Successfully merging this pull request may close these issues.

1 participant