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?
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.
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.
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];
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.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!