Usually, I use the scp
command to transfer files on *nixes.
What's the difference between SFTP and SCP? Don't they both work on SSH?
file-transferscpsftpssh
Usually, I use the scp
command to transfer files on *nixes.
What's the difference between SFTP and SCP? Don't they both work on SSH?
Best Answer
In a nutshell, SCP can only be used for transferring files, and it is non-interactive (i.e., everything has to be specified on the command line). SFTP is more elaborate, and allows interactive commands to do things like creating directories, deleting directories and files (all subject to system permissions, of course), etc.