From WGET's manual:
You want to download all the gifs from a directory on an http server. You tried wget
http://www.server.com/dir/*.gif, but that didn't work because http retrieval does not support globbing. In that case, use:
wget -r -l1 --no-parent -A.gif
http://www.server.com/dir/ More verbose, but the effect is the same. -r -l1 means to retrieve recursively (see Recursive Download), with maximum depth of 1. --no-parent means that references to the parent directory are ignored (see Directory-Based Limits), and -A.gif means to download only the gif files. -A "*.gif" would have worked too.