🗃ī¸How to Install FTP to Transfer Files Between Devices on the Same Network

Good to know : What is ftp and its uses

FTP is the abbreviation of File Transfer Protocol. FTP is used to transfer files between computers on a network. You can use FTP to exchange files between computer accounts, transfer files between accounts and a desktop computer, or access software archives online. Using an FTP server is a common solution for businesses that want to keep their data safe. A hosted FTP server could be the answer to getting better data security.


Configuration

Add New User For FTP

adduser rizwanftp

Install Package

apt install proftpd -y

Edit File

nano /etc/proftpd/proftpd.conf
# Set the user and group that the server normally runs at.
User rizwanftp
Group nogroup

 <Anonymous ~ftp>
   User rizwanftp
#   Group nogroup

 </Anonymous>
# Include other custom configuration files
Include /etc/proftpd/conf.d/

Directory

Create New Directory For FTP User

mkdir /home/rizwanftp/ftp

Change Permission For Directory FTP

chmod 777 /home/(user)/ftp

Restart Service

/etc/init.d/proftpd restart

Configuration is Completed

Test FTP Service

We will test the FTP service using FileZilla

Host : 10.1.31.1
Username : rizwanftp
Password : rizwan29
Port : 22

Last updated