Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

please i want to know ingeneral the difference between Client and Server Side and specially Difference between "SFTP Client Side" and "SFTP Server Side" and where i should be install SFTP client and SFTP server i i want to copy file by sftp command from server X to Server Y ?????

share|improve this question

2 Answers 2

up vote 0 down vote accepted

SFTP is FTP over SSH so if both servers are servers then both most likely already have SSH (if they are unix servers)

You then need an SFTP compatible client.

Since they are both servers It does not really matter which one has the client and which one has the server.

Typically one would use a client on a client machine, be it windows, Mac or linux to connect to the SFTP server on the server but in your case both are servers? then it really does not matter. one does the connecting while the other does the listening.

Perhaps you can provide a bit more info?

share|improve this answer
SFTP is actually the SSH File Transfer Protocol which is completely different than FTP over SSH. FTP over SSH is literally just FTP running through an SSH tunnel. SFTP is its own protocol. – Ryan Bolger Mar 8 '11 at 7:57

If they're both Unix or Linux servers then most probably both of them already feature an SSH server (and therefore, if properly configured, they're capable of acting as a SFTP server).

The rest of the answer lies in the question itself: instead of calling them "server X" and "server Y", let's call them for a moment "computer X" and "computer Y", in order to make sure the word server doesn't confuse us. Now, according to your question computer X has to send files to computer Y: therefore the most common scenario would suggest that:

  • you run the SFTP client on computer X (the sender)
  • you run the SFTP server on computer Y (the recipient)

In all fairness it doesn't really matter, as nothing prevents you from running the client on Y and the server on X, and pulling the files from X (downloading them) instead of pushing them to Y (uploading them). But in the scenario that you describes, it seems just more obvious to run the SFTP Client on Server X, and the SFTP Server on Server Y.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.