Skip to content

Instantly share code, notes, and snippets.

@tot-ra
Created November 27, 2013 12:43
bash script to download file(s) over ftp to local dir
#!/bin/bash
lftp -u login,pass ftp://login@example.com <<EOF
mget -d -O /local/path/to/save/to /remote/path/to/dir/*.BIN
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment