Here's my two line shell script that accomplishes the same thing (sans dropbox). Been using it for years and it's a lifesaver.
https://gist.github.com/1683661
You need scrot, xclip, and libnotify. Set up private key ssh access to your webserver and update the directories/url and you're good to go.