# LFTP

LFTP is a versatile tool for moving files between your computer and a remote server. It is open source and self-hosted, installable on Docker Hub, Proxmox and Unraid.

Canonical page: https://ourlocalhost.com/app/6500/lftp

## Description

LFTP is a versatile tool for moving files between your computer and a remote server. It automates the process of uploading or synchronising website files and data, ensuring your digital content is delivered quickly and reliably to its destination without manual effort.

## Platform availability

Available on 2 of 10 platforms: Unraid, Proxmox.

## Health score

59/100 (Fair), based on 4 of 5 factors.
- Maintained: 71 (last commit 47 days ago)
- Popular: 62 (1,307 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 64 (no serious findings, tests, OpenSSF Scorecard 3.3/10)

## Links

- Docker Hub: https://hub.docker.com/r/finalgene/lftp
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts/lftp-mirror/
- Unraid: https://ca.unraid.net/apps/lftp-mirror-1rdw0l81o7592o?q=lftp-mirror
- GitHub: https://github.com/lavv17/lftp
- Official website: http://lftp.yar.ru

## Common questions

### How can I prevent LFTP transfers from stalling behind a home router?

Create a small LFTP config file at ~/.lftprc or ~/.lftp/rc before the first transfer. It can set passive mode and encrypted-FTP options, which can stop transfers stalling behind home routers and keep logins/data from being plain text.

### How do I run LFTP from a script without leaving passwords in shell history or process listings?

Use lftp -u user --env-password with an exported LFTP_PASSWORD environment variable, or let LFTP ask for a password. Avoid writing the username and password directly in commands or scripts, because passwords can remain in shell history, logs, or visible process listings.

### Why do scheduled LFTP backup jobs fail silently in cron?

Save your LFTP commands in a .lftp script and schedule it with cron using the full path and a log redirect. Without the full path and logs, the job may fail silently because cron does not use your normal shell settings.

### Why does remote ls in LFTP appear outdated after file changes?

By default, LFTP caches directory listings, causing remote ls to lag behind file system changes. To fix this, run cache flush, or write set cache:enable no in your $HOME/.lftprc configuration file.

## Alternatives

- AeroFTP: A modern, open-source file manager and client for FTP, SFTP, WebDAV, and S3, featuring an AI assistant, cloud sync, and military-grade encr…
- FileZilla: FileZilla is a cross-platform FTP, SFTP, and FTPS client for transferring and managing files on remote servers.
- Wget: Wget is a command-line utility for non-interactive downloading of files, directories, and entire websites over HTTP, HTTPS, and FTP.
- aria2: Aria2 is a lightweight, multi-protocol, multi-source, cross-platform command-line download utility that retrieves files over HTTP/HTTPS, FT…
- cURL: cURL is a versatile tool used to send and receive information between your computer and a server via the internet.
- termscp: A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/Kube/S3/WebDAV.

---
Source: Our Local Host (https://ourlocalhost.com/app/6500/lftp), the self-hosted and open-source app directory.
