iPhone:如何将文件从应用程序目录共享/移动到其他设备

发布于 2024-08-24 08:02:20 字数 199 浏览 3 评论 0原文

我有一个应用程序,它会在应用程序目录中生成一些文件,

我需要用户能够通过 wifi、使用网络浏览器、ftp 客户端或某种类似方法通过文件共享从另一台设备/计算机访问这些文件。

iPhone可以自己充当http服务器和ftp服务器吗?还是我需要自己编写一些程序来制作http服务器和ftp服务器?

感谢

Interdev

I have an app which generates some files in the app directories

I need users to be able to access the files from another device/computer via file sharing over wifi, using a web browser, a ftp client or some similar method.

Can the iPhone act as a http server and ftp server by itself or do I need to do some programing to make the http server and ftp server by myself?

Thanks

interdev

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

染火枫林 2024-08-31 08:02:21

CocoaHTTPServer 是一个用于此目的的优秀库,也广泛用于 iPhone 应用程序中。它有很好的文档和工作示例项目,甚至适用于 iPhone。

CocoaHTTPServer is an excellent library for this purpose, widely used also in iPhone apps. It has a good documentation and working example projects, even for iPhone.

愚人国度 2024-08-31 08:02:20

Erica Sadun 相当出色的 3.0 版 iPhone 开发者食谱 的代码示例是 可在 github 下载。她有两章介绍各种网络模式,包括示例 HTTP 服务器。

The code examples for Erica Sadun's rather excellent 3.0 edition of the iPhone Developer's Cookbook are downloadable at github. She has two chapters on various modes of networking including an example HTTP server.

如梦初醒的夏天 2024-08-31 08:02:20

iPhone 没有内置的 Web 或 FTP 服务器。因此,如果您希望此功能成为您的应用程序的一部分,那么您必须在代码中包含一个功能。

The iPhone has no built-in web or ftp server. So if you want this functionality to be part of your application then you will have to include one in your code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文