Edward
Edward

Reputation: 7424

C# Solution to upload a file

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.

Upvotes: 0

Views: 2144

Answers (3)

Edward
Edward

Reputation: 7424

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

Upvotes: 0

Dmytrii Nagirniak
Dmytrii Nagirniak

Reputation: 24088

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.

Upvotes: 1

Related Questions