dropbox-sdk

How to upload a file to Dropbox using JS SDK?

試著忘記壹切 提交于 2019-12-11 22:56:05
问题 I am not sure whether to read the file as as Array Buffer or as a dataURI or as a binary stream. Which would be better? Also, won't these methods be memory intensive and make the app/device slow, especially when uploading big files like 150mb or so? And yet another thing is whether the file will be "openable" as it was originally? Example : If I read a .zip file using one of the methods and then download the file later, will it still open as ZIP? I am partly confused because of this analogy: