LFTP Command line File Transfer Program – How to install LFTP on Ubuntu

LFTP is a free open source command line file transfer software for Linux. It supports FTP, FTPS, HTTP, HTTPS, HFTP, FISH, SFTP and BitTorrent protocols. It also supports Fast, DHT, PEX, Multi-tracker, Metadata, magnet bittorrent extensions, WebDAv, SRV DNS records, reget and reput support. Some other important features are transfer rate limiting and number of connections limit. It also comes with Job queuing and background jobs support, job execution at specified time, bookmarks and aliases support.

Install LFTP on Ubuntu:

Installation of LFTP File Transfer Program on Ubuntu is a very easy. Just open your terminal app (Ctrl+Alt+T),type the below command and hit the enter key.

sudo apt-get update

Type your ubuntu password if needed. And then type and run the below command.

sudo apt-get install lftp

it will install the latest version of LFTP ftp Program on Ubuntu. You  also need to  install openssh and openssl via below command.

sudo apt-get install openssh openssl

Then run the below command in terminal to run LFTP File Transfer Program.


Then use the below syntax to connect your site.

lftp ftp://username@hostname:port

Here you can replace username with your ftp username and hostname with your site name and port with your sites ftp port number. ex:21

Also Read:  How to Manage Flatpak Apps on Linux

Then type your ftp password to connect your site.

please check this link for LFTP manual

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.

Leave a Reply