Raspberry Pi FTP

Posted on Wed 26 October 2016 in RaspberryPi

Installing FTP on a RaspberryPi

Often when working with a RaspberryPi its handy to be able to quickly transfer files via a gui In this guide I'll be using a windows client and a RaspberryPi B running Jessie however I believe all versions of Pi are supported.

From the Pi

take ownership of the www folder

sudo chown -R pi /var/www

install vsftp Very Secure FTP Daemon

sudo apt get-install vsftpd

edit the config files

sudo nano /etc/vsftpd.conf

anonymous_enable=NO

uncomment:

local_enable=YES

write_enable=YES

add this to the end

force_dot_files=YES

restart vsftpd

sudo service vsftpd restart

From a Windows client

Download and install FileZilla. Its a wizard, just hit next a few times. Once installed and opened, you'll see a screen like below. The Pi's IP username and password go here. Hit quick connect and it will log in with an FTP session to the Pi.

alt text

I've also found the visual representation of file permissions handy. Helped me out a few times.