Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I am trying to upload files from NetSuite into Drop Box using drop box upload API. I am able to upload text as well as CSV file but while uploading files like PDF,DOC,ZIP etc. I am able to upload it but data is missing or I am unable to open that file, Is there any kind of decoding needed for such files.
@graceturner wrote:...
Before uploading, make sure to read the binary data of the file and encode it using Base64 encoding. Then, send the encoded data through the API. ...
@graceturner, don't push others here to confusion! Your statement is definitely NOT true, in spite in use by some environments. Dropbox API doesn't encode/decode/transcode the data in any way (neither on sending nor on receiving) that's why all data need to be raw/unencoded, so encoding in base64 would broke them. When they are encoded internally by the environment in use (like here), data must be decoded before send (not after - not on receiving - something that's not supported)!
@graceturner, here Dropbox API is on focus, not something else! If you have question or advice to another things,... post them on corresponding place. Your postings are completely unrelated to Dropbox API.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!