Filezilla Ftp Server Linux

admin 11/23/2021

In this tutorial we will learn how to use vsftpd on Linux to make Ubuntu machine run as ftp server and transfer files over wifi on local network.

FTP or File Transfer Protocol is a commonly-used protocol for transferring files between computers; one act as a client, the other act as a server. In this post, we will talk about the FTP server in Linux systems, specifically Very Secure FTP Daemon (vsftpd). The vsftpd program is a very popular FTP server that many servers use today. Downloading that file again will make the FTP server convert all LF to CR+LF while sending it to FileZilla. As a result, all LF effectively are converted to CR+LF. Another example is a text file with mixed line endings. FileZilla on Windows uploads that file to an FTP server running on Windows - no line ending conversion is done at all. FileZilla is a ftp client for both windows & linux operating system. It is a powerful client for plain FTP, FTP over SSL/TLS (FTPS) and the SSH File Transfer Protocol (SFTP). Some of the common features are listed below:. Supports FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP). IPv6 support. Available in more than 40.

On many occasion you need to copy and backup files locally from one computer to other. Using physical disk like flash drive or external hard drive is not always feasible due to many constraints such large file size, external drive availability.


We can take advantage of machines being on same network to achieve file transfer.

To follow this guide you should have access to following

Filezilla Ftp Server Linux
  • Ubuntu Machine
  • Windows Machine
  • Both machines connected over same network using ethernet or wifi

How to install VFTP on Ubuntu

Open Terminal to get and install vsftp demon from official ubuntu repository.

sudo apt-get install vsftpd

Above command will install vsftp demon which means it will always be running in background upon machine startup using init.

Use following commands to check vsftp service

sudo service vsftpd status

If service is running then above command will output status of service with all spawned vsftp process ids.

Alternatively you can also check vsftp process with grep

ps -ef grep vsftp

How to configure VSFTP for Uploads


This step is optional but if you want to allow uploads from remote machine to your ubuntu server then follow below configuration.

After installation vsftp will create configuration file at path /etc/vsftpd.conf. This file should be owned by root and should have default vsftp configuration. By default VSFTP will not allow ftp uploads; to enable it uncomment line write_enable=YES

Note that /etc/vsftpd.conf would be owned by root, to make any changes in configuration do. sudo vim /etc/vsftpd.conf or sudo gedit /etc/vsftpd.conf

Restart vsftpd demon once configuration is completed.

sudo service vsftpd restart

Check status after restart.

sudo service vsftpd status

How to configure Ubuntu firewall for FTP

By default ubuntu shall be running firewall known as uncomplicated firewall (ufw). Default firewall rules will not allow any outside connection.

To open ftp port on this firewall use following commands.

Check firewall status using

sudo ufw status

Firewall should be active and running. If it's not active then enable the same using following command to make your machine secure.

You can keep it disable if you have such requirement, however it's recommended to keep it on. sudo ufw enable

To open ftp port 21 use following command

sudo ufw allow ftp or sudo ufw allow 21Filezilla Ftp Server Linux

This will add firewall rule to accept ftp connections from other machine on network. After adding ftp rule you should have following entries in your firewall. sudo ufw status

Configure Windows Firewall

Firewall should permit you to initiate ftp session from windows machine. Search for Windows Firewall in start menu to open firewall configuration window.

Filezilla Ftp Server Linux Login

Since we are going to use one time ftp we will disable firewall and reenable it once ftp is done. Depending upon which network you are connected to Home or Public you can disable firewall like below.

Note that disabling complete firewall is not recommended. If you are going to use ftp server regularly from windows machine then please create firewall rules under Windows Firewall with Advanced Security on Port 21

Initiate FTP session using Windows command line

Once we are done with required configurations we can initiate first ftp connection from windows command line. First get IP address of machine hosting FTP server using command ifconfig on ubuntu machine. Use eth0 inet address if you are connected with ethernet cable. For wireless connection use inet address of wlan0 interface. My ubuntu machine have following local IP


To initiate connection open command prompt on windows and use following command. ftp

It will ask for username and password. Username will be same name as the ubuntu user (techmonger in my case) and password will the ubuntu's system password of user.

To get file from ubuntu ftp server, navigate to directory and use get command like below.

To upload file from windows machine to ftp server, put command like below.

To terminate ftp session use bye.

Initiate FTP connection usign ftp client on windows

By now you would agree that doing ftp from windows command prompt is bit tedious. We can use ftp client such as winscp or filezilla to get GUI for ftp operations.

Use hostname as IP address of ftp server ( in my case) and same credentials as those of ubuntu user.

Like below you can initiate connection from filezilla. You can use drag and drop to download and upload files from windows machine.

FTP Security Aspects - Firewall and Services

All ftp connections will be initiated in plain text. You should only use above method if you are in local network and have complete control over network. For encrypted connections use sftp or ftps.

  • Remove firewall rule from ubuntu once ftp requirement is over.

  • sudo ufw deny ftp or sudo ufw deny 21
  • Enable Winows firewall once ftp requirement is over.

  • Stop vsftp demon if ftp is no longer needed to save system resources. It will also make your system less vulnerable.

    sudo service vsftpd stop

Conclusion : You can make your ubuntu machine to run as ftp server and can transfer files locally. You do not need SMB (server message block) for file transfer between linux machine and windows machine over network.

Welcome to the homepage of FileZilla®, the free FTP solution. The FileZilla Client not only supports FTP, but also FTP over TLS (FTPS) and SFTP. It is open source software distributed free of charge under the terms of the GNU General Public License.

We are also offering FileZilla Pro, with additional protocol support for WebDAV, Amazon S3, Backblaze B2, Dropbox, Microsoft OneDrive, Google Drive, Microsoft Azure Blob and File Storage, and Google Cloud Storage.

Last but not least, FileZilla Server is a free open source FTP and FTPS Server.

Support is available through our forums, the wiki and the bug and feature request trackers.

In addition, you will find documentation on how to compile FileZilla and nightly builds for multiple platforms in the development section.

Quick download links

Pick the client if you want to transfer files. Get the server if you want to make files available for others.


Filezilla server linux install

2021-05-04 - FileZilla Client 3.54.0-rc1 released

Bugfixes and minor changes:

  • Refactored network activity handling, the activity indicators tooltips now display more accurate data
  • Updated SFTP components
  • Small performance improvement sorting very large directory listings
  • Fixed a crash changing numeric permissions value in chmod dialog

2021-03-23 - FileZilla Client 3.53.1 released

Bugfixes and minor changes:

  • Removed an error message on new installation where there is no sitemanager.xml yet
  • Fixed SOCKS5 proxy support

2021-03-15 - FileZilla Client 3.53.0 released

Filezilla Ftp Server Linux Download

Bugfixes and minor changes:

  • HTTP: Handle servers sending early replies

2020-07-16 - FileZilla Pro Adds Support for Keystone V3, OneDrive Sharing, and Amazon STS

By adding support for the OpenStack Swift Keystone v3 identity service, OneDrive Sharing, and Amazon Secure Token Service (STS). FileZilla Pro is making it possible for its users to store and share files with greater versatility and security. Read the full news.

2019-11-07 - FileZilla Pro to continue work with bug bounty program

Building on success of participation in EU security project, FileZilla will continue participating and investing project resources in bug bounty program. Read the full news.

2019-07-29 - FileZilla refocuses on security after participation in EU bug bounty program

European Union-spondored 'bug bounty' program found some security issues which have promptly been fixed.

2019-07-09 - FileZilla Pro to add new features after recent customer survey

Filezilla Ftp Server Linux Server

Read the full news.

The user interface mentioned in the article will also be available for users of the free FileZilla.