Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I am developing an app in iOS. My requirement is as follows:
I want to upload images and also download images. Also I want the ability to store the database structure in dropbox. So that if my app gets deleted and when I re-install the app only I have to link that with my dropbox account. Then I will get all the data in my app and there will be no data loss.
I have searched various APIs provided by Dropbox. I have also implemented Sync API of dropbox but that doesn't suffice my purpose.
When my app get deleted it does not download the stored data in my app.
So I want to know for my requirement which API I have to use?
Thanks,
Sritoma
Both the Sync API and the Core API offer the ability to upload and download files to and from Dropbox, so either should work in this case. Can you elaborate on any specific issues you're experiencing?
Regarding your "database structure", this is probably also possible, depending on what exactly you mean and what you want to do. For example, you can store structured data using the Datastore API. The Datastore SDK and the Sync SDK for iOS are actually one and the same, so you can use both files and datastores functionality in the same app with that SDK.
Alternatively, if you're using a local database like SQLite, you could backup the database as a file.
OK Thanks. I will look into the APIs you mentioned. But one question is that does Sync API download files from dropbox as well?
Yes. You can get a basic idea of how it works by looking through the tutorial:
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!