使用SFTP协议从iPhone上传文件 [英] Upload file from iphone using SFTP protocol
问题描述
是可以的吗?有没有第三方库可用?这与把文件放在FTP上是一样的吗?
解决方案苹果有一个关于这个问题的技术说明。
http://developer.apple.com/iphone/library/technotes/tn2009/tn2152.html#SECFILETRANSFERPROTOCOLS
以下部分铁饼为文件支持转让。
注意:已经有很多尝试去做一个安全的FTP。
这些包括:
FTPS - 这是通过TLS的FTP。它不受iPhone OS或Mac OS X上的任何内置API的支持。
SFTP - 这是基于SSH的新文件传输协议。没有内置于iPhone OS或Mac OS X的SSH API。在Mac OS X上,您可以通过下拉各种命令行工具来访问SSH功能。这不是iPhone OS的选项。
I have one audio file captured from my iphone. I want to upload this audio file using SFTP protocol?
Is is possible? Is there any third party library available? Is it the same as putting file on FTP?
Apple has a tech note on this subject.
http://developer.apple.com/iphone/library/technotes/tn2009/tn2152.html#SECFILETRANSFERPROTOCOLS
The following section discuses support for file transfer. Note: There have been numerous attempts to make a secure 'FTP'. These include: FTPS — This is FTP over TLS. It is not supported by any built-in APIs on iPhone OS or Mac OS X. SFTP — This is a new file transfer protocol based on SSH. There are no SSH APIs built in to either iPhone OS or Mac OS X. On Mac OS X you can access SSH functionality by sublaunching various command line tools. This is not an option on iPhone OS.
这篇关于使用SFTP协议从iPhone上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!