views:

328

answers:

4

Can someone provide me with a way of uploading files, such as images or text files,from an iphone app to a web server. I have found many examples but all are in php. I'm using C# with ASP.NET and need to do a simple upload. Thanks in advance.

I actually needed a solution for the iphone app. How to upload the file from the iphone to an asp.net website. I already have the upload and where it is to be stored, I just need assistance as far as the class to use on the iphone and how to incorporate that with the website.

+1  A: 

You can use web browser on the iPhone to upload the files to your server.
On the server you can run your .NET page that accepts those files.

To implement this:
On the server: create a ASP.NET Page to upload file as describe here or here.
On the iPhone: open the browser and type the URL of your page (of course deployed to your server) and upload the files required.

Dmytrii Nagirniak
This is kind of what I had in mind. Do you know any resources or articles on that?
loyalpenguin
Added some resources to the answer.
Dmytrii Nagirniak
A: 

Hello again everyone. After some research I found a solution here. It Worked for me. Cheers.

loyalpenguin