Knowledge Base

Browse our knowledge base for free solutions to common problems

Upload File To Remote FTP Using lftp

Created On: 14 September 2022
Written by: Ben

Run the following:

lftp -c "open -u {USERNAME}, {PASSWORD} {HOSTNAME}; put -O {DIRECTORY-TO-DATA-TO-REMOTELY} {FILE-TO-MOVE}"

For example:

lftp -c "open -u john.doe, password ftp.google.com; put -O /remote-backups/ /local-backups/file_2_upload.zip"

 

ICTU LTD is a company registered England and Wales (Company No. 09344913) 15 Queen Square, Leeds, West Yorkshire, England, LS2 8AJ
Copyright © 2024 ICTU LTD, All Rights Reserved.
exit