Skip to main content

Rebex SFTP

Transferring data between machines is the raison d'etre of computer networks. And SFTP is modern and reliable standard that fits many cases of file transfers. Rebex's components allow you to incorporate SFTP file transfers into your own applications.

All the acronyms

There is a multitude of protocols used for file transfers over computer networks and Internet. One of the first is FTP, the File Transfer Protocol. Seen with today's eyes, FTP is overly complex and also not very secure. Everything -- including user names, passwords and file data -- is transported in the open, so attacker with network access can see credentials and modify data. All the early Internet protocols are like that, built for totally different world than today's Internet. Virtually every operating system today can support FTP as both a server and client. But they usually don't, due to aforementioned lack of security.

But now it gets complicated. Because if we want to secure alternative to FTP, we have (at least) three alternatives:

  • FTPS simply wraps FTP communication in a layer of TLS encryption and is based on certificates and certification authorities. Is supported mainly on Windows and its Internet Information Services (IIS).
  • SFTP is completely different protocol, having no relationship to classic FTP. It uses SSH (Secure Shell) as its authentication and encryption layer. It's not based on certificates and certificate authorities, but on atomic keys, unique to each server. SFTP is common in world of Linux (and Un*x in general), but recent versions of Windows support it as well. SFTP commandline client is installed by default and SFTP server can be installed as optional component.
  • SCP (Secure Copy) also uses SSH as its security layer and is also available on virtually any Linux server by default. But SCP is an legacy protocol, with limited capabilities and lots of weaknesses, so for new deployments, it's being usually replaced by SFTP.
tip

There are other SFTP clients and servers for Windows, of course. Rebex actually offers two of them. Tiny SFTP Server is a simple free thing for testing, Buru SFTP Server is fully featured server fit for production use.