iphonefile-uploadsftp

Upload file from iphone using SFTP protocol


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?


Solution

  • 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.