Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
hsyn
10 years agoNew member | Level 2
python upload big file example
Can you please share an example code of how to upload big files (size > 150 mb) with python api v2 sdk?
barry m.10
10 years agoNew member | Level 1
Hi Gregory,
<<<CHUNK_SIZE = 4 * 1024 * 1024>>>
Is there any reason why you chose 4mb in your python example code? (thanks BTW)
Why chose between a single files_upload call, and a chunked upload session, at 4mb when 150mb is the upper limit for the former? Also why transmit in 4mb blocks when 150mb is permitted?
Is 4mb preferred for some reason? Is there some efficiency gain? I see that it has been claimed that 4mb is DropBox's chunk size for de-duplication. Is this a factor. or were just intending to minimise resources in your demonstration snippet?
http://blog.fosketts.net/2011/07/11/dropbox-data-format-deduplication/
Thanks
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!