cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

how i am get base 64 file data ?

how i am get base 64 file data ?

sudip k.
New member | Level 1

i am creating  a IOS application.and i am using dropbox API for getting file(PDF,DOC) on dropbox and i want to send this file on server on base 64. i  get all file(PDF,DOC) lists name.but i don't understand how i get the file on base64 format? 

6 Replies 6

Steve M.
Dropbox Staff

Downloading a file using the Dropbox API will give you the raw bytes of the file. If you want to then convert that to Base64, you'll have to do that yourself. Here's an example I found by searching for "ios base64": http://iosdevelopertips.com/core-services/encode-decode-using-base64.html.

sudip k.
New member | Level 1

Hello Steave ,
how i download a file from dropbox?

Steve M.
Dropbox Staff

That depends on which SDK you're using, but the tutorial for that SDK should show you how to do that. E.g. the "Downloading files" section of https://www.dropbox.com/developers-v1/core/start/ios or the "Try some API requests" section of https://www.dropbox.com/developers/documentation/swift#tutorial.

sudip k.
New member | Level 1

hello Steve

i want to show my pdf,doc file and created any folder inside dropbox.here i got list of pdf file and doc file but i does not get any solution how to show folder.plz steve help me.

this code i am using for showing doc , pdf file and i want show folder.which extension i use for showing folder?

 NSArray* validExtensions = [NSArray arrayWithObjects:@"pdf", @"docx",@"doc", nil];

Steve M.
Dropbox Staff

This question seems unrelated to the original question in this thread. Please create a new post to ask a new question.

sudip k.
New member | Level 1

ok.. thank u 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    sudip k. New member | Level 1
  • User avatar
    Steve M. Dropbox Staff
What do Dropbox user levels mean?