Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Created December 23, 2020 17:00
Show Gist options
  • Save weskerfoot/824d1ce5a4c0a8fba16f5e81180d9451 to your computer and use it in GitHub Desktop.
Save weskerfoot/824d1ce5a4c0a8fba16f5e81180d9451 to your computer and use it in GitHub Desktop.
Resume upload of a folder to a remote server using LFTP #lftp
lftp -e 'mirror -c -R /path/to/local/folder /path/to/remote/folder' -u 'your_username,your_password' the-remote-ftp-server.com
# -c means resume the upload where you left off the last time you ran lftp before it got terminated.
# -R means reverse mirror. This will tell lftp to upload from local to remote, instead of download from remote to local.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment