FTP (File Transfer Protocol) is a network protocol used to transfer the files between the client and server machines. It uses TCP port 20 & 21 for connection and data transmission between the two machine I.e client and server.
Step 1. Update packages.
# apt-get update
Step 2. Install ftp server on linux machine
# apt-get install vsftpd ftp -y
Step 3. Open /etc/vsftpd.conf file & change following settings.
Note: Uncomment Write_enable=YES
Note: Add these 4 lines at the end of the file after that save & exit
pasv_max_port=12100
pasv_min_port=12000
port_enable=YES
Step 4. Create a Ftpuser & you can specify any Name & Password for your user.
# adduser ftpuser
Step 5. Assign permission to ftpuser.
# chmod 777 /home/ftpuser
Step 4. Restart ftp server.
# service vsftpd restart
Windows Machine
Step 1. Download Ftp Client Named Filezilla From Below Link.
https://filezilla-project.org/download.php?show_all=1
Step 2. Open Filezilla and mention your Host Username and Password for connectivity.
Note : Now you can easily transfer your data from linux machine to windows machine or vice versa through drag and drop data.