macOS
brew install lftplocal Homebrew formula metadata
安装
brew install lftplocal Homebrew formula metadata
sudo apk add lftpAlpine Linux edge package indexes · lftp · 来源: dl-cdn.alpinelinux.org
sudo dnf install lftpFedora Rawhide package metadata · lftp · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lftpnixpkgs package indexes · pkgs/by-name/lf/lftp/package.nix · 来源: api.github.com
sudo pacman -S lftpArch Linux sync databases · lftp · 来源: geo.mirror.pkgbuild.com
sudo zypper install lftpopenSUSE Tumbleweed package metadata · lftp · 来源: download.opensuse.org
choco install lftpChocolatey community package catalog · lftp · 来源: community.chocolatey.org
scoop install main/lftpScoop official bucket manifest trees · bucket/lftp.json · 来源: api.github.com
概览
Sophisticated file transfer program
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/lftp.conf~/.lftprc~/.lftp/rc~/.config/lftp/rcCredential-bearing paths to review before unattended agent runs.
~/.netrc~/.local/share/lftp/bookmarks~/.lftp/bookmarks可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lftp | cli | 全局可执行文件 | |
lftpget | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | gettext, libidn2, openssl@3, readline |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lftp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lftp 4.9.2-3+b1
Sophisticated command-line FTP/HTTP/BitTorrent client programs
sudo apt install lftplftp
nix profile install nixpkgs#lftplftp 4.9.2-2ubuntu1
Sophisticated command-line FTP/HTTP/BitTorrent client programs
sudo apt install lftplftp 4.9.3-r0
Sophisticated ftp/http client
sudo apk add lftplftp-doc 4.9.3-r0
Sophisticated ftp/http client (documentation)
sudo apk add lftp-doclftp-zsh-completion 4.9.3-r0
Zsh completions for lftp
sudo apk add lftp-zsh-completionlftp 4.9.3-6.fc44
A sophisticated file transfer program
sudo dnf install lftplftp-scripts 4.9.3-6.fc44
Scripts for lftp
sudo dnf install lftp-scriptslftp 4.9.3-2
Sophisticated command line based FTP client
sudo pacman -S lftplftp 4.9.2-8.1
Command Line File Transfer Program
sudo zypper install lftplftp
sudo port install lftplftp
choco install lftpmain/lftp
scoop install main/lftp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.