Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 lftp

查看 lftp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lftp

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lftp

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add lftp

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

Debian apt已验证 · 92%
sudo apt install lftp

Debian stable package indexes · lftp · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lftp

Fedora Rawhide package metadata · lftp · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#lftp

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

Arch Linux pacman已验证 · 92%
sudo pacman -S lftp

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

openSUSE zypper已验证 · 92%
sudo zypper install lftp

openSUSE Tumbleweed package metadata · lftp · 来源: download.opensuse.org

概览

软件包摘要

Sophisticated file transfer program

命令和别名

  • lftp
  • lftpget

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:ftp

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lftpcli全局可执行文件
lftpgetcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.9.3
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/lavv17/lftp

安装元数据

软件包元数据

软件包键brew:lftp
版本4.9.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lftp
主页https://lftp.yar.ru/
仓库https://github.com/lavv17/lftp
上游文档https://lftp.yar.ru/
许可证GPL-3.0-or-later
源码归档https://github.com/lavv17/lftp/releases/download/v4.9.3/lftp-4.9.3.tar.gz
最后更新2026-06-22T14:05:10-07:00
Pulseupdated
依赖gettext, libidn2, openssl@3, readline
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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