lftp is a command-line file-transfer application with a shell-like interface, background jobs and support for several network protocols. Its documented capabilities include FTP, FTPS, HTTP, HTTPS and SFTP, plus directory mirroring and parallel transfers. It is aimed at users who want interactive terminal work and scripted transfer behavior within the same tool.[2][3]
Queues and background work
Transfers can run as background jobs, and queues allow commands to execute in sequence. The program provides bookmarks, aliases, history and conditional commands. Its feature list includes automatic reconnection and retries for recoverable failures, as well as limits on bandwidth and simultaneous connections. These controls are useful for unattended transfer jobs but do not guarantee that every remote failure is recoverable.[3]
Mirroring and deletion
The mirror command copies a source tree to a target; reverse mirroring uploads in the opposite direction. Deleting files missing at the source and deleting excluded target files are separate options. Dry-run output can show the commands that would be performed. The name mirror should therefore not be interpreted as an unconditional deletion policy, or as a bidirectional conflict-resolution system.[4]
Protocol and migration boundaries
The documented WebDAV support is partial, while SFTP, FTP and HTTP-related capabilities have their own server and build requirements. FTPS and HTTPS use a TLS library. Transfers between servers can use the client as an intermediary, with FTP FXP used where possible. Switching from a graphical client means rebuilding bookmarks, commands and retry choices in lftp's own configuration rather than assuming settings import.[3]
Availability and source status
lftp is distributed under the GPL and its source repository includes version 3 license text. The homepage lists a November 2024 release while the download page still identifies an older version as latest stable. The homepage also says the author has limited support time. These inconsistencies warrant checking a distribution's maintained package or the project's release files rather than relying solely on the download-page headline.[1][2][5]
Substitution scope
lftp can replace WinSCP's transfer workflow when the requirement is terminal-driven FTP or SFTP automation on a compatible system. Its queues, mirror jobs and parallel transfers support that narrower task. It does not reproduce WinSCP's graphical file manager or .NET assembly, nor establish equivalent native S3 access. A change of interface also requires checking the intended direction and deletion behavior of each recurring job.[3][4][6]
Capabilities & limitations
Scripted mirroring
supported
Mirror and reverse mirror support directory-tree transfer with explicit deletion controls.[4]
Remote file management · Unix-like systems; packaging dependent · Server and storage-provider availability applies