Yea. It appears as though I was getting the need for single quotes mixed up. I thought that single quotes was required by wget to figure out what to do with dynamic addresses. Actually it's because stuff like shell is trying to interpret the ? and & that commonly show up in dynamic addresses and the single quotes are there to prevent shell from doing it.
Another fix I found was to make it as such:
Code:
wget -A.zip 'http://foo/get_file.php?file_name='bar_$i.zip
so that it won't get confused by the other things in the dynamic address but will still know to interpret the $i.
Thanks for your help. Is there anyway to change the title to solved or something to that effect?