iPhone SDK文件传输恢复支持
我正在尝试保存录音并将这些文件传输到我的 FTP 服务器,大小通常从 200kb 到 75 MB 不等。我预计会话中互联网断开或应用程序被终止或用户无意中按下主页按钮的情况很少见。只是想知道如何设置传输恢复而不必重新开始,因为这会很痛苦,特别是在传输大文件时。
任何帮助将不胜感激。
I am trying to save voice recordings and transfer those files to my FTP server, typically ranging from 200kb up to 75 MB in size. I anticipate infrequent mid-session internet disconnections or app being terminated or the user inadvertently pressing the home button. Just wondering how to set up resume of transfers without having to start afresh, as this would be a pain, particularly when transferring large files.
Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 FTP 客户端需要发送
REST
(REStart
)命令,带有传输上次结束位置的偏移量。Your FTP client will need to send a
REST
(RESTart
) command, with an offset for where the transfer last ended.