SSH File Transfer Protocol (SFTP) is a method for transferring files between a local and remote computer, like FTP and FTPS, but the difference is in how it works. Instead of sending FTP commands, SFTP uses an extended set of SSH commands. If the server you’re connecting to only supports FTP connections, not SSH connections, you won’t be able to use SFTP.
The video tutorial below shows how SFTP Works.