WebDAV Server for Cocoa iPhone and iPad running iOS

痞子三分冷 提交于 2019-12-21 02:36:10

问题


I'm looking for a WebDAV server - best Open Source - for iPhone and iPad for integration in my app. It should be possible to list, download and upload files. I would like to point the server root on the 'Documents' folder of my app, so the methods should be mapped directly to the file system if possible.

On my search through the internet I came around some suggestions, but they did not work for me:

  1. touchcode - the WebDAV server part can be found unter 'Experimental' and I was not able to get it running. Maybe someone has a working release of it?

  2. iSharing - this seemed to be a commercial solution which now has been dropped by the developer. I was not able to find more info about it.

  3. CocoaHTTPServer - an Apple sample project of a simple HTTP Server. Apple employees themselves write non their support list that this would be a good starting point, though I was not able to find a WebDAV addition for it. Maybe there is one?

So that's what I was able to find so far. Hint would be very appreciated. Thanks.


回答1:


Try https://github.com/swisspol/GCDWebServer#webdav-server-in-ios-apps it seems to be doing well and active.




回答2:


Try combining the DynamicServer and iPhoneHTTPServer projects in CocoaHTTPServer. Use NSFileManager to get the file contents. You have to use a web browser...



来源:https://stackoverflow.com/questions/3567763/webdav-server-for-cocoa-iphone-and-ipad-running-ios

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