How to upload a file to iphone app from a computer? - iphone

In some of the apps, I have seen its possible to upload files to the library of a certain application. They ask to type "http://192.xxx.xxx.xxx" and then to upload files to that location which inturn becomes available for download in iphone when we use the same URL.
Do anyone have an idea how to do it OR where to look for to gain info about this?

create a HTTP server app on iPhone, so the upload file also can be implemented in the app

Related

Browse all pdf and text files in the iphone

browse file in iphone I'm developing an iPhone app in which I have to upload the PDF and text files on server from iPhone. Please guide me can i browse all pdf files stored in iPhone into my application?
Its not possible to Monitor(Browse) the Files in IOS. Apple does not Approve this type of applications. And also iPhone/iPad we can't access the Other Application Data's. As per your point The PDF must be located in Other iOS Application. We can't Browse the Files Except Bundles and Documents folder.
Only way you can Upload file to Server and Make browser list Using Tableview.
The following are the possible ways to do this.
FTP UPLOAD:
We can Upload Documents to FTP Server and Download Via FTP in iOS.
In This. Upload and Download we neet to use Authentication policy.
SimpleFTPSample
Upload things to a FTP in Objective-C iOS
Server Upload.
We can Upload File to Server(Php,ASP.net,ect). The download is Ordinary method.
Link 1
Link 2
You app runs in a Sandbox environment. This means the app can only access files and directories within its own contents.
More Information On File System Programming Guide

iOS upload a file from application

I am developing an application whereby i want to upload an arbitrary file to the server using my application. However, it primarily appears that iOS does not expose the file system to the application.
Is there any way to accomplish this task ? (Please remember here that I do not know the name of file). It is a kind of browse for files - select a file - upload it.
If it is possible in iOS, is there any open source component/library available to facilitate this task ?
There is no file system to access on iOS, unless you are contemplating a jail broken App, other than the files you create as part of your App. You would not normally let a User browse your App's files but it you did you'd implement a App-specific approach to the browsing.

iOS pickup/import file directly from Google Drive or Dropbox

In iOS for iPhone -iPad app do we have a facility to pick/import/copy documents or files directly from photo library or Dropbox or GoogleDrive or any other similar kind of app in to our native application?
Or using some url-scheme can we directly upload it to server by just giving the path?
This kind of functionality is being provided by Google's Android OS. Do we have similar to that in iOS? Or how can we implement that?
Try AMAZON S3 server to upload files and fetch files from the server and many more
Please go through the following link
http://aws.amazon.com

Is it possible for a web based app to retrive images from an iphone?

I'm creating a website which I would like to be supported on the iphone as well. The site allows users to upload images and manipulate them. On a desktop the user will simply click the upload button to select the file from their computer and upload it to the site. But this will fail on an iphone.
Is there any way for a pure web app which is using php/mysql/js and runs inside the browser to get images from a user's camera roll? Does Apple offer any APIs to make this possible?
No, it's not possible currently - but apparently iOS 6 is going to support image and video uploads from MobileSafari.
(Apart from that, you can ask your users if their device is jailbroken and id so, suggest them downloading Safari Upload Enabler from Cydia).

How to upload a file from the front end (view) in an iphone app?

In my iphone app, It is a requirement that I enable the user to upload the database file (.sql) from the front end of the app or through iTunes and the app should display the data based on the file he/she uploaded.
How should I go ahead with implementation?
Please give your suggestions.
Please Help.
Thanks!!
You can use NSURLConnection to FTP or HTTP POST the file. There is some server side programming required of course.
There are some answers in stackoverflow explaining the iphone upload like this:
How can I upload a photo to a server with the iPhone?