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

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: 
Highlighted

how i am get base 64 file data ?

New member | Level 1
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
Highlighted

Re: how i am get base 64 file data ?

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

Highlighted

Re: how i am get base 64 file data ?

New member | Level 1
New member | Level 1

Hello Steave ,
how i download a file from dropbox?

Highlighted

Re: how i am get base 64 file data ?

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

Highlighted

Re: how i am get base 64 file data ?

New member | Level 1
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];

Highlighted

Re: how i am get base 64 file data ?

Dropboxer
Dropboxer

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

Highlighted

Re: how i am get base 64 file data ?

New member | Level 1
New member | Level 1

ok.. thank u 

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

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?