i want to send a file from my iphone which have some strings to a local web server with iphone sdk?how can i do it ?is there any sample code for it?
+1
A:
I guess using ASIHttpRequest is a common way of doing it, but you could also use NSURLConnection. An example on using NSURLConnection to post data can easily be found. Conceited Code has a couple of tutorials showing both general use of NSURLConnection and posting data with it.
ASIHttpRequest also has some simple examples that should get you going.
Vegar
2010-09-16 06:40:39