wget if linux question

Linux is driving me spare, I want a bit of code that does the following:

wget http://server/file.zip
if [wget succeeds]; then
echo Doing things
fi

I've tried:
if [ "$?" -eq 0 ]; then
but no luck...

 

 

 

 

Top