Automic VaultAutomic Vault

brew

Install lftp with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Sophisticated file transfer program. Version 4.9.3 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lftp

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install lftp

MacPorts ports tree · net/lftp/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add lftp

Alpine Linux edge package indexes · lftp · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install lftp

Debian stable package indexes · lftp · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install lftp

Fedora Rawhide package metadata · lftp · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lftp

nixpkgs package indexes · pkgs/by-name/lf/lftp/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S lftp

Arch Linux sync databases · lftp · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install lftp

openSUSE Tumbleweed package metadata · lftp · source: download.opensuse.org

overview

Package summary

Sophisticated file transfer program

Commands and aliases

  • lftp
  • lftpget

history

Project history and usage

lftp is a long-running command-line file transfer client with FTP, FTPS, HTTP, HTTPS, HFTP, FISH, SFTP, file, mirror, queue, job-control, and BitTorrent features. It is one of the richer Unix-style transfer shells packaged by general-purpose package managers.

Project history

The official manual describes lftp as a sophisticated file transfer program with a shell-like command language, background jobs, queues, conditionals, bookmarks, and automatic retry/resume behavior. Its evolution has been incremental and durable: the events log records active releases from the 2.x era through the 4.x era.

Milestones in the official events log show the tool expanding beyond FTP: WebDAV support appeared in 2005, GNU TLS support was added in 2005, SFTP appeared in development snapshots in 2003, BitTorrent support reached the 4.0.0 release in 2009, and DHT plus other BitTorrent extensions appeared in 2012.

Adoption history

lftp is widely packaged across Unix-like systems and Windows-oriented package ecosystems, including Homebrew, Debian, Ubuntu, Fedora/DNF, Arch, Alpine, MacPorts, Nix, Scoop, Chocolatey, and openSUSE. That breadth reflects its role as a standard scripting and mirroring client for administrators who need more than a minimal FTP command.

How it is used

Common use centers on interactive sessions, scripted transfers, backgrounded jobs, `mirror` for directory synchronization, reverse mirroring for upload workflows, parallel transfers, bookmarks, and URL-based access to multiple protocols. The startup configuration paths and `.netrc` support make it fit naturally into Unix automation.

Why package nerds care

lftp is package-nerd catnip because it compresses a surprising amount of transfer machinery into one CLI: protocol clients, retry semantics, queueing, shell grammar, mirroring, and background detachment. It is often the package people install when `ftp`, `sftp`, `wget`, or `curl` are each almost, but not quite, the right tool.

Timeline

  • 1999-11-12: The official events log notes lftp 2.1-era development.
  • 2003-11-20: SFTP protocol support was implemented in a development snapshot.
  • 2005-02-25: lftp 3.1.0 added WebDAV support.
  • 2005-05-16: lftp 3.2.0 added GNU TLS support.
  • 2009-09-11: lftp 4.0.0 added a BitTorrent client.
  • 2012-09-27: lftp 4.4.0 added DHT and other BitTorrent extensions.
  • 2024-11-08: lftp 4.9.3 was released with fixes for SFTP, UDP tracker looping, crashes, compilation, and translations.

Related projects

  • lftp overlaps with ftp clients, OpenSSH sftp, curl, wget, rsync-style mirroring workflows, BitTorrent clients, GNU TLS/OpenSSL, WebDAV clients, and Unix job-control shells.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:ftp

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/lftp.conf~/.lftprc~/.lftp/rc~/.config/lftp/rc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.netrc~/.local/share/lftp/bookmarks~/.lftp/bookmarks

executables

Installed executables

CommandKindExposureNote
lftpcliglobal executable
lftpgetcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.9.3
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/lavv17/lftp

install metadata

Package metadata

Package keybrew:lftp
Version4.9.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lftp
Homepagehttps://lftp.yar.ru/
Repositoryhttps://github.com/lavv17/lftp
Upstream docshttps://lftp.yar.ru/
LicenseGPL-3.0-or-later
Source archivehttps://github.com/lavv17/lftp/releases/download/v4.9.3/lftp-4.9.3.tar.gz
Last updated2026-06-22T14:05:10-07:00
Pulseupdated
Dependenciesgettext, libidn2, openssl@3, readline
Uses from macOSncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelftp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

lftp 4.9.2-3+b1

Sophisticated command-line FTP/HTTP/BitTorrent client programs

https://lftp.yar.ru

sudo apt install lftp
  • Section: net
  • Architecture: amd64
  • Source Package: lftp
  • 8 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Lftp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lftp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lftp

nix profile install nixpkgs#lftp
  • normalized package name match
  • Matched by: Lftp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lf/lftp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lftp 4.9.2-2ubuntu1

Sophisticated command-line FTP/HTTP/BitTorrent client programs

https://lftp.yar.ru

sudo apt install lftp
  • Section: net
  • Architecture: amd64
  • 8 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Lftp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lftp from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

lftp 4.9.3-r0

Sophisticated ftp/http client

https://lftp.yar.ru

sudo apk add lftp
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lftp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lftp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lftp from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lftp-doc 4.9.3-r0

Sophisticated ftp/http client (documentation)

https://lftp.yar.ru

sudo apk add lftp-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lftp
  • normalized package name match
  • Matched by: Lftp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lftp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lftp-zsh-completion 4.9.3-r0

Zsh completions for lftp

https://lftp.yar.ru

sudo apk add lftp-zsh-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lftp
  • normalized package name match
  • Matched by: Lftp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lftp-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

lftp 4.9.3-6.fc44

A sophisticated file transfer program

http://lftp.yar.ru/

sudo dnf install lftp
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: lftp
  • 11 dependencies
  • 7 provides
  • normalized package name match
  • Matched by: Lftp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lftp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lftp-scripts 4.9.3-6.fc44

Scripts for lftp

http://lftp.yar.ru/

sudo dnf install lftp-scripts
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lftp
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lftp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lftp-scripts from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lftp 4.9.3-2

Sophisticated command line based FTP client

https://lftp.yar.ru/

sudo pacman -S lftp
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 10 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Lftp
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lftp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lftp 4.9.2-8.1

Command Line File Transfer Program

http://lftp.yar.ru/

sudo zypper install lftp
  • License: GPL-3.0-or-later
  • Category: Productivity/Networking/Ftp/Clients
  • Architecture: x86_64
  • Source Package: lftp
  • 15 dependencies
  • 7 provides
  • normalized package name match
  • Matched by: Lftp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lftp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lftp

sudo port install lftp
  • normalized package name match
  • Matched by: Lftp
MacPorts ports tree · api.github.com · MacPorts ports tree: net/lftp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

lftp

choco install lftp
  • normalized package name match
  • Matched by: Lftp
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: lftp from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'
Scoop95%

main/lftp

scoop install main/lftp
  • normalized package name match
  • Matched by: Lftp
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/lftp.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment