Skip to content

Instantly share code, notes, and snippets.

@johnsolk
Created February 21, 2018 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnsolk/d6b559070812b8dcaf899ee1f29bce4b to your computer and use it in GitHub Desktop.
Save johnsolk/d6b559070812b8dcaf899ee1f29bce4b to your computer and use it in GitHub Desktop.
# password required
wget -r -l1 --no-parent --user=user --password=password http://server.server.edu/path/to/files/
# no password required
wget -r -l1 --no-parent --no-check-certificate https://server.server.edu/path/to/files
# If ftp server, with user and password required:
wget -r --user XXX --password XXX ftp://1234.5678.10
# Login to ftp server,
# navigate and change directories
# mget to copy multiple files from the remote server to your local server.
# (Although, this will sometimes take longer than wget for some reason.)
# (The -P 2121 is optional, leave it out if you don’t know the port.)
ncftp -u XXX -p XXX -P 2121 server.server.edu
cd /path/to/files
ls
mget *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment