cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upload file into Drop Box From NetSuite Using SuiteScript.

Upload file into Drop Box From NetSuite Using SuiteScript.

Anonymous One
Explorer | Level 4

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.

12 Replies 12

yekai426
Explorer | Level 3

@Anonymous One, Have you found solution for your issue?

 

 

Здравко
Legendary | Level 20

@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)!

Здравко
Legendary | Level 20

@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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Здравко Legendary | Level 20
  • User avatar
    yekai426 Explorer | Level 3
What do Dropbox user levels mean?