cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over 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: 
1
Ask
2
Reply and help

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

Re: how i am get base 64 file data ?

Steve M.
Dropboxer

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.

Re: how i am get base 64 file data ?

sudip k.
New member | Level 1

Hello Steave ,
how i download a file from dropbox?

Re: how i am get base 64 file data ?

Steve M.
Dropboxer

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.

Re: how i am get base 64 file data ?

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];

Re: how i am get base 64 file data ?

Steve M.
Dropboxer

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

Re: how i am get base 64 file data ?

sudip k.
New member | Level 1

ok.. thank u 

Who's talking

Top contributors to this post

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