How can we help you today?

Upload File To Remote FTP Using lftp

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"

 

Leave a Reply

Your email address will not be published. Required fields are marked *

    ICTU LTD is a company registered England and Wales (Company No. 09344913) 142 Thornes Lane, Wakefield, England, WF2 7RE
    Copyright © 2025 ICTU LTD, All Rights Reserved.