lftp

Sophisticated file transfer program. More information: <https://lftp.yar.ru/lftp-man.html>.

Install

All systems
curl cmd.cat/lftp.sh
Debian Debian
apt-get install lftp
Ubuntu
apt-get install lftp
Alpine
apk add lftp
Arch Arch Linux
pacman -S lftp
image/svg+xml Kali Linux
apt-get install lftp
CentOS
yum install lftp
Fedora
dnf install lftp
Windows (WSL2)
sudo apt-get update sudo apt-get install lftp
OS X
brew install lftp
Raspbian
apt-get install lftp
Docker
docker run cmd.cat/lftp lftp powered by Commando

Sophisticated file transfer program. More information: <https://lftp.yar.ru/lftp-man.html>.

  • Connect to an FTP server:
    lftp --user username ftp.example.com
  • Download multiple files (glob expression):
    mget path/to/*.png
  • Upload multiple files (glob expression):
    mput path/to/*.zip
  • Delete multiple files on the remote server:
    mrm path/to/*.txt
  • Rename a file on the remote server:
    mv original_filename new_filename
  • Download or update an entire directory:
    mirror path/to/remote_dir path/to/local_output_dir
  • Upload or update an entire directory:
    mirror -R path/to/local_dir path/to/remote_output_dir

© tl;dr; authors and contributors