Download file from iphone using SFTP

I have one audio file shot from my iphone. I want to download this audio file using SFTP?

Is it possible to? Is there any third-party library? Is it the same as putting a file on FTP?

+4
source share
2 answers

Apple has a technical note on this.

http://developer.apple.com/iphone/library/technotes/tn2009/tn2152.html#SECFILETRANSFERPROTOCOLS

The next section discusses file transfer support. Note. Many attempts have been made to make 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 is the new SSH-based file transfer protocol. There are no SSH APIs built into iPhone OS or Mac OS X. On Mac OS X, you can access SSH functions by running various command line tools. This is not an option for iPhone OS.

+4
source

SFTP and FTP are completely different protocols.

Basically, the following file transfer protocols exist:

  • FTP is a simple old FTP protocol that has existed since the 1970s. Abbreviation stands for File Transfer Protocol. It usually goes through TCP port 21.

  • SFTP is another, completely different file transfer protocol that has nothing to do with FTP. SFTP goes through an SSH session, usually on TCP port 22. It has existed since the late 1990s. The abbreviation actually means "SSH File Transfer Protocol."

  • FTPS or FTP / SSL - a simple, old FTP protocol works through a secure TLS / SSL communication channel. The ratio of FTP and FTPS is the same as the ratio of HTTP and HTTPS to each other.

  • Secure FTP - depending on the context. Sometimes this means FTPS, sometimes SFTP.

+1
source

Source: https://habr.com/ru/post/1299310/


All Articles