Export files from iPhone applications to your computer via WiFi-

I hope someone can point me in the right direction, because I have no experience in network programming. I need to enable users to export files to their computers via WIFI (such as FTP server), just Some applications like AirSharing enter their computer web browser to access files by displaying the web address that users only need to type (e.g. 192.168.3.1:8080).

But I’m on the Internet I can’t find any instructions on how to achieve this goal. I have followed the code to use Apple’s NSNetSerice and CFNetService programming guide to publish a web service, although it is built and running, it does not show up on my Mac, I don’t know how to specify the URL. I don’t know TCP or what it does.

Also, there are no sample projects provided by Apple (WiTap, BonjourWeb, Cryptoblahblah) that seem to help do what I want (and they Also very complicated)

Does anyone know if I am on the right track, or if I have any suggestions to follow? If you want, I am happy to post some sample codes.

Thanks in advance.

Yes
You can use this sample code to do this

iPhoneHttpServer project

Note: You can use it at your own risk, but if you have any Questions, please feel free to email me. [email protected] or visit my blog: vodkhang.com

I hope someone can point me in the right direction, because I have no experience in network programming. I need to enable users to export files to their computers via WIFI (such as an FTP server), just like some applications such as AirSharing by displaying the web address that the user only needs to type (e.g. 192.168.3.1: 8080) like to enter their computer web browser to access the file.

But I can’t find any instructions on the Internet how to achieve this. I have followed the code using Apple’s NSNetSerice and CFNetService programming guide published a web service, although it is built and running, it is not displayed on my Mac, I don’t know how to specify the URL. I don’t know TCP or what it does.

Also, no sample projects provided by Apple (WiTap, BonjourWeb, Cryptoblahblah) seem to help do what I want (and they are also very complicated)

Does anyone know if I am on the right track Go, or do I have any suggestions to follow? If you want, I would be happy to post some sample codes.

Thanks in advance.

Yes
You can use this The sample code performs this operation

iPhoneHttpServer project

Note: You can use it at your own risk, but if you have any questions, please feel free to send me an email. vodkhang@ gmail.com or visit my blog: vodkhang.com

Leave a Comment

Your email address will not be published.