Tuesday, April 22, 2008

wget example

wget --http-user=admin --http-password=admin http://$CAM_IP/img/snapshot.cgi?size=640x480 -O $APPS_HOME/photo.jpg -o $APPS_HOME/wget.log

This is an example I capture the snapshot files from my Linksys WVC200.

--http-user and --http-password used to pass the http authentication
-O specify the output file
-o provides output log

No comments: