Install FTP server on Raspberry Pi to upload \ Download file
VSFTPD is an open source, lightweight, common FTP server.
1, install VSFTPD server (approx. 400KB)
sudo apt-get install vsftpd
2. Start the FTP service
sudo service vsftpd start
3. Edit the VSFTDP configuration file
sudo nano/etc/vsftpd.conf
Locate the following line and define
Anonymous_enable=no
Means: Anonymous access is not allowed
Local_enable=yes
Set the local user to be accessible.
Write_enable=yes
Settings can be write operations
local_umask=022
Sets the permission mask for the file after uploading.
Save to exit
4, restart VSFTPD service
sudo service vsftpd restart
5, test it, OK.
Connect the Raspberry Pi system via FTP, login with username pi, password is raspberry
The root directory of the FTP is/HOME/PI, which is the home directory of the PI user
You can upload or download files.
Raspberry Pi Install FTP server