In this case I used wget with the following options:
Example:
wget --http-user=admin99 --http-password=p4ssw0rd! --recursive --no-parent http://yourserver.com/data/albums/2020/
or if you want to use FTP
wget --ftp-user=admin99 --ftp-password=p4ssw0rd! --recursive --no-parent ftp://yourserver.com/data/albums/2020/
--http-user
HTTP User for authentication
--http-password
HTTP Password for authentication
--recursive
Turn on recursive retrieving
--no-parent
Do not ever ascend to the parent directory when retrieving recursively. This is a useful option, since it guarantees that only the files below a certain hierarchy will be downloaded.
Man page: https://linux.die.net/man/1/wget
Comments
Post a Comment