Created
December 23, 2020 17:00
-
-
Save weskerfoot/824d1ce5a4c0a8fba16f5e81180d9451 to your computer and use it in GitHub Desktop.
Resume upload of a folder to a remote server using LFTP #lftp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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