Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

matt41129

macrumors newbie
Original poster
Apr 8, 2013
3
0
Hello all, Im new to programming, Im doing a Iphone app for my church and one portion of the app was to upload a image or video. I know that to do so I would need a web server (which i have) what type of programing code would I need to accomplish uploading a video to a webserver? Any help would be great, im new so i apologize if this is a repeated question. Thx.
 
I think you need to explain it better. Is you app going to take pictures and video that you then want to upload to a specific server? Describe the workflow.
 
I think you need to explain it better. Is you app going to take pictures and video that you then want to upload to a specific server? Describe the workflow.

Yes your correct. What im wanting to do is upload a picture or video to a server from the application. The user would beable to hit a button and capture or upload a video on the camera roll then upload to the webserver. Am i thinking right, as far as being able to upload a video or image to a webserver? same for audio, thats possible right?
 
Yes your correct. What im wanting to do is upload a picture or video to a server from the application. The user would beable to hit a button and capture or upload a video on the camera roll then upload to the webserver. Am i thinking right, as far as being able to upload a video or image to a webserver? same for audio, thats possible right?

Your server is a web server? That's an important bit of information. You probably want to use an HTTP put command. Take a look at the NSURLRequest class and the NSURLConnection class.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.