Previous Post :
HTTP Web Server, File Upload on iphone
----- Update 20140729 -------
The original googlecode link is removed.
Please check this https://github.com/vodkhang/CocoaHTTPServer-Iphone
http://vodkhang.com/software-development/cocoa-http-server-bug-fix
---------------------------------------------
Let's try cocoahttpserver
we can get it from google code: code.google.com/p/cocoahttpserver/
we focus on iphone project, so just try the iphone sample code.
Get a local copy of the cocoahttpserver repository with this command:
hg clone https://cocoahttpserver.googlecode.com/hg/ cocoahttpserver
Try the iPhoneHTTPServer sample
Run on simulator, type your ip address url on your browser.(in this example, the port is 12345);
You'll see a simular content as follows,
The http server works. but we want file uploading to iphone. what next?
Download the iPhoneHTTPServer3.zip sample from http://code.google.com/p/cocoahttpserver/downloads/list
Run the demo project. It works like a charm!!
This is all thanks to developer Deusty and Nonnus who graciously decided to share the code with the development community!
Previous Post :
HTTP Web Server, File Upload on iphone
The link doesn't work
ReplyDeleteI believe the site is moved to Github
Deletehttps://github.com/robbiehanson/CocoaHTTPServer
I couldn't find iPhoneHTTPServer3.zip file. Could you share that via email or upload it on your post.
DeleteCheck this https://github.com/vodkhang/CocoaHTTPServer-Iphone
DeleteThe link is not working. Is there any working demo of this ?
ReplyDeleteI got the CocoaHTTPServer, but I cannot find a way to actually upload a file