cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Upload serialized object

Explorer | Level 4

I am using the Dropbox JS SDK in Cordova.

Before upload, I am using msgpack-lite to serialize the object and storing it in a file.bin path.

 

But when I download it, instead of a UInt8Array object it is actually showing the raw file contents. The actual data. Why is that?

 

Because of which I can't decode the blob with msgpack neither can I parse the file with JSON.

1 Reply 1
Highlighted

Re: Upload serialized object

Dropboxer
Dropboxer
The SDK/API should just receive and return the file data exactly as you supply it.

If this isn't working as expected, please share some sample code and output so we can take a look.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?