Hi,
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?
Thanks,
Jim.
Hi,
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?
Thanks,
Jim.
The SFTP and FTP are completely different protocols.
Basically, there are the following file transfer protocols around:
FTP – the plain old FTP protocol that has been around since 1970s. The acronym stands for "File Transfer Protocol". It usually runs over TCP port 21.
SFTP – another, completely different file transfer protocol that has nothing to do with FTP. SFTP runs over an SSH session, usually on TCP port 22. It has been around since late 1990s. The acronym actually stands for "SSH File Transfer Protocol".
FTPS or FTP/SSL - the plain, old FTP protocol run over TLS/SSL secure communication channel. FTP and FTPS relation is the same as HTTP and HTTPS relation to each other.
Secure FTP - depends on context. Sometimes means FTPS, sometimes SFTP.
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.