FTP is for File Transfer Protocol which is used for transferring files between machine, one will be a client machine, the other will be as a server machine.
FTP used TCP network for transferring files from one system to another system.
Let Start Configuring FTP server in Ubuntu 14.04
We are using VsFTPD for ftp server.
Setup FTP server on Ubuntu 14.04
Step 1 First we need to update our package.
Step 2 Install VsFTPD in your system.
Step 3 After that open /etc/vsftpd.conf config file Then make some changes in it.
Uncomment the below lines (line no:29 and 33).
Uncomment the below line (line no: 120 )
Allow anonymous FTP? (Disabled by default)
Add the following lines to enable passive mode.
Step 4 Restart vsftpd service .
Step 5 ftp server used port 21. Steps for creating user for accessing file server.
also check if folder is created in home directory or not , if not then create folder
Step 6 now make changes in nologin shell . Open /etc/shells and at the end add below line.
Now we can connect our ftp server with the username on port 21 using winscp or filezilla client.
Also we can type ftp://ServerIpAddress
It will ask for id and password, then we can access FTP server
Transfering file to FTP server from client PC.
curl -T File_Name ftp://ServerIPaddress –user kencorner:pwdkencorner
You May Also Enjoy Reading This …