cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

Downloading photoshop/sketch files

Downloading photoshop/sketch files

Zarmi
Explorer | Level 3

Hey,

 

I have a problem downloading complex files (photoshop/sketch) using dropbox api and a custom download function.

 

 

here is my code.

https://jsfiddle.net/m5aq84gL/

 

This code works for simple files like svg or text but the photoshop and sketch file appear corrupted.

1 Reply 1

Greg-DB
Dropbox Staff

[Cross-linking for reference: https://stackoverflow.com/questions/44484110/dropbox-api-download-complex-files ]

 

It looks like jQuery unfortunately doesn't support downloading binary data like this:

 

https://bugs.jquery.com/ticket/11461

 

I recommend using the official Dropbox API v2 JavaScript library instead:

 

https://github.com/dropbox/dropbox-sdk-js

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?