How to transfer files with LFTP
SSH into the Server
CHANGE DIRECTORY TO DOWNLOAD OR UPLOAD DIRECTORY (this is on your receiving machine)
ENTER INTO A SCREEN TO RUN JOBS IN THE BACKGROUND.
** Note, to use screen, you need to use the same server like yen1.
To create a screen
screen -S helloWorld
To detach from a screen hit ‘CTL-a’ and then press ‘d’. So essentially simultaneously pressing the “Control” key and the “a” key, then releasing and then pressing the “d” key.
To reattach to the screen
Find the PID of the screen you want to reattach to. For example, the PID could be 12345.
screen -R 12345
CONNECT TO THE PROVIDER FTP SERVER
At the password prompt enter in the password
DOWNLOAD FILES FROM PROVIDER
Navigate to the download folder.
To see files in a folder
To download a single file
To download a batch of files
UPLOAD TO PROVIDER
Navigate to the upload folder.
To upload a single file
To upload a batch of files
Within the folder that holds the zip files. For one file.
For multiple files use quote around the wildcard filename.