Question: is sftp same as scp?
Answer: SFTP is a file transfer protocol similar to FTP but uses the SSH protocol as the network protocol (and benefits from leaving SSH to handle the authentication and encryption). SCP is only for transferring files, and can't do other things like list remote directories or removing files, which SFTP does do.