Examples of lftp

In this example we are changing directory to "output" and doing a listing of files: lftp -e 'set net:timeout 10;cd output/;ls; bye' -u USER,PASSWORD ftp.foo.com/ Here we are going to "output" and we transferring "myfile.txt" to our local /tmp directory. lftp -e 'set