Recursive HTTP download with wget

Downloading a lot of files from an HTTP source with a lot of sub directories can be quite annoying. Who ever has clicked through several folders in his browser to download a couple of files knows what I’m talking about, especially if you have several hierarchies of sub directories. Of course there are browser extensions that help, but if you want to solve the problem in a shell, wget is your tool of choice.

wget -r -l [depth] -A '*.jpg' -p -nd -np -nv -k -P [target_folder] --http-user=[user] --http-passwd=[password] --no-check-certificate 'https://[domain]/[folder_with_subfolders]/'

The parameters explained, taken from the wget manual page, some of them might be optional for your case: