You can use wget with regex and wildcards like so:
$ wget -r --no-parent -A '*.tar.gz' http://url/dir/