Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

Uploading files and Communicating with a server

applepie555applepie555 Posts: 4New Users
edited July 2012 in iPhone SDK Development
0 down vote favorite


Ok. I am a bit of a new developer and haven't done much work with networking (in general, not specifically obj-c). Basically, I need to record a file (I have code to do this), then upload it to a server. I've looked at code to upload to servers and it seems that all I need for an http upload from the server side of things is a html upload page with a php script, which I have. Another option would be ftp/sftp, although this would be harder to implement.

The problem is I need to have authentication for the upload, and preferably have a secure (https) upload, with a username and password. I cannot figure out how to do this. I would also need the server to send back a response to the app. If someone could get me pointed in the right direction for setting up an authentication server and an upload form with a username/password. That would be great.

Also, are their any frameworks to make it easier to upload files? I know there was asihttprequest, but that was discontinued...

What would I need to make the server do to have authentication and authenticated uploads, and be able to return data back to the app? Sorry for such a n00by question, but if you could help that would be great.

Thanks

Replies

Sign In or Register to comment.