What you are trying will only work if the receiving program (in this case, the snapshot.cgi program) is capable of recognizing parameters name user
and pwd
, but it's absolutely not a standard.
Probably it will have worked from your browser because were already logged in. The normal way to add username and password to an url is:
http://username:password@192.168.1.110:8080/snapshot.cgi?count=3
If that doesn't work, try adding them to the wget command line as explained in the manual:
wget -O [filenamepath] --user=user --password=1234 http://192.168.1.110:8080/snapshot.cgi?count=3
ps: you cannot test the url with embedded username and password with IE because some time ago Microsoft decided to stop supporting that feature.