
How to set up an FTP server on the Raspberry Pi Step 1: Enable SSHĪt first, we have to make sure that SSH (Secure Shell) is enabled. The old FTP protocol leaves both command and data channels unencrypted, which leaves your data vulnerable to exploits like the man-in-the-middle attack. It also means that you don’t necessarily have to install any external software: Raspbian comes with a program called sftp-server from the OpenSSH suite. sftp-server is SFTP, of course, rather than FTP, and that’s a good thing. That makes accessing your Pi via FTP very easy. It takes a bit of set-up, but once running, it’s a really effective way to move files back and forth.įor this tutorial, I’ll assume that you’re using Raspbian as your operating system.

With FTP (File Transfer Protocol) or SFTP (SSH File Transfer Protocol, also known as Secure File Transfer Protocol), you can transfer files from your Raspberry Pi to your other computers and vice versa. Whatever the reason, it’s a good idea to learn how to set up an FTP server on the Raspberry Pi. Maybe you’ve put together a RetroPie gaming emulator and want to transfer some ROMs, or maybe you have Raspbian installed and just want a few of your key files. There are a lot of reasons that you might want a quick and easy way to transfer files between your Raspberry Pi and your computer.
