DropBox file create issue - ios

I am developing a ios app. in that app I am using core api of dropbox. I am able to create a folder on dropbox. But I am stuck on create a file on that folder in dropbox. using core api. Is it possible to create file on dropbox using core api in ios?

Yes, the easiest way to create a file using the Dropbox Core API is with the /files_put endpoint:
https://www.dropbox.com/developers/core/api#files_put
For larger files, you should use the chunked upload calls:
https://www.dropbox.com/developers/core/api#chunked-upload
https://www.dropbox.com/developers/core/api#commit-chunked-upload

Related

iOS Dropbox Core API or Sync API

My app needs to save and retrieve images from root dropbox folder (not my app's root folder under dropbox), currently I setup my app in App Console with files and detesters, need access to files already on Dropbox and specific file types for images.
Which type of dropbox api should I use ? Core API or Sync API?
You want to retrieve files from Dropbox then you need to use Core API of Dropbox.
For better use you need to read https://www.dropbox.com/developers/core/start/ios
this.
This is a good way to retrieve specific files from Dropbox in your case.
Dropbox is deprecating Sync API

Is that possible to download google derive files without integration with ios

Is that possible to download files from google drive without integrate it's sdk (class files) or authentication. Consider following scenario:
I Used UIWebView in mysample application.
I am logged in to Google Drive through UIWebView (Like logged in to google drive same as browser logged in).
Now i want to download google drive documents in to mysample application document folder.
Problem:
When i am trying to download file from google drive it will now downloaded (I am using nsurl connection or ASIHttpRequest for download file).
I Integrate GoogleSDK (Class Library) in another sample application it will work fine and files are downloaded using file.downloadURL.
Now, My simple question is can we download files from google drive by UIWebView logged in or not? Is there any way?
We don't support integrating with the iOS web view, and suggest you use the SDK.

Uploading files to Sharepoint 2010 Picture Library

I am creating a iphone app that connects to a sharepoint site to download and upload images.
i can download images by using sharepoint's listdata.svc with GET request and querying the site to retrieve the url of the image that i want.
https://xx.xxx.xx/sites/XXX-XXX/xxxx/TestLibrary/1/Picture%20Library/test.jpg
Question is how do i upload a file using HTTP PUT request?
Use _vti_bin/copy.asmx web-service

Upload public file to dropbox from iOS App without auth

Am writing an iPhone App in which I want to upload a text file from the iOS App to somewhere & I thought of using dropbox for it. I will upload the file to my dropbox ID from the App (i.e. the user won't be required to authenticate with his/her dropbox credentials). Is this possible? Dropbox API (I even tried GDrive API) asks for auth ; how do I give my dropbox credentials through code & upload the file to my dropbox account?
You must need Auth,otherwise in which account the file gets uploaded??
I don't think there is any other means to accomplish this except through OAuth.
Please refer to this framework that enables your app to access files from Dropbox without having to worry about the complexities of implementing a file browser, OAuth, or managing uploads and storage.

Usage of aws ios sdk for iphone app

We are in the development of an iOS(iPhone) application that consumes a web services. We are planning to host our web service (ReSTful web services) in the AWS. Initially we planned to use Restkit or ASIHttpRequest libraries for invoking the web services. Our web services contains GET, POST api and some image uploading for setting the profile photos of the users. Also we are sending video, audio files in to the database and accessing these files through web services. We are using JSON as our output format.
While searching through the web we found that AWS SDK for iOS is this. Can somebody advice us is it possible to do the above requirements (GET/POST/Upload Photo/etc) using AWS SDK for iOS? Or shall we continue with other third-party libraries like Restkit or ASIHttpRequest.
Please advise us.
You can use both ASIHttpRequest and Amazon SDK for IOS at the same time.You would want to use Amazon S3 service (by creating a bucket) for your media files.Amazon S3 is cheap,fast and easy to use. When you download AWS SDK you can see sample folder and an example of S3_Uploader for ios.
For example in my latest app user upload their photos to Amazon S3 and comment&vote to other user pictures etc... I use AWS SDK to upload pictures to the Amazon S3 service. While uploading photos with AWS SDK I keep URL,path, of the photos in a database and use ASIHttpRequest , POSTto update my MYSQL database, which is in another server. When I fetch data from my server I use JSON and AWS SDK.
So If I were you, I would use Amazon S3 for my files(photo,video etc...) and I would use either Amazon EC2 or another web service for rest of the database. I am assuming you keep your data in a database and interact thru GET and POST methods. If so keeping media files and database in separate places would be my choice

Resources