ios file sharing/sync to devices from mac/pc

心不动则不痛 提交于 2020-01-03 04:18:07

问题


I have developed the ipad app which displays images and other product details from sqlite db. I have also developed .net based windows application which resides on Windows xp pc. This application generates data in sqlite db and also map each record with related images. This flow is working fine till now with itunes filesharing feature enabled. So the user copy sqlite db and images(around 2-3 gb) to iPad through itunes file sharing.

Recently I came across Bonjour service which is used to communicate in local network.

I was wondering is it possible that my .net based application creates Bonjour server and keeps the sqlite db & images files in some folder and ios devices can directly read from that over wifi and get files when requested?

Please suggest if using Bonjour services will be good approach and any sample tutorial to start with.

Thanks


回答1:


Bonjour can help you to find devices on the local network.

Then you must develop your own transfer protocol or use for example CocoaAsyncSocket for start.




回答2:


After really really hard searching... found something worth using or to be worked upon.. http://syncdocs.sourceforge.net/index.php.

It uses Bonjour service to discover and further send/receive files.



来源:https://stackoverflow.com/questions/10365026/ios-file-sharing-sync-to-devices-from-mac-pc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!