Setup FTP server on Paspberry PI

Task: Setup FTP server

Commands (change [user] to your username):
sudo apt install vsftpd
sudo nano /etc/vsftpd.conf
mkdir -p /home/[user]/ftp
chmod a-w /home/[user]/ftp

Edit rows with (remove #):
write_enable=YES
local_umask=022
anonymous_enable=NO
user_sub_token=$USER
local_root=/home/$USER/ftp

Restart service:
sudo service vsftpd restart

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *




Enter Captcha Here :