

Uncomment line xferlog_file=/var/log/vsftpd.log for enabling log for your FTP server.įor viewing log files of vsftpd, please type the following command in the terminal sudo cat /var/log/vsftpd.log Then anyone can use the user name “anonymous” to login into your FTP server, which is a potential security threat. Let’s change some parameter to configure it more to act like a real FTP server.īy changing the value to anonymous_enable=YES, you can enable anonymous user. If you are a CentOS/RedHat/Fedora user: sudo vim /etc/vsftpd/nf

If you get an IP address from a DHCP server, then you may have IP address dynamically assigned to your interface and it will change time to time. Note: To begin, make sure you have a static IP address manually assigned on your interface on the machine where your Linux is running and where we are going to install vsftpd. I am using Ubuntu 14.04.3 LTS as my Linux distribution. I am assuming that you are running a Linux operating system distribution like Ubuntu, Debian, CentOS, RedHat or Fedora. We will use vsftpd so that it act like a FTP service on a server and hence we will call it FTP server. Your friend then can use a FTP client to download the file. So, you can upload your files on a FTP server that you have and you can provide a url/link of that file to your friend to download. The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet or over LAN (Local Area Network). Today, we will walk thorough how to install, configure and test an ftp server.
