MAC OS X, Linux, Windows and other IT Tips and Tricks
curl -u user:pass -T /home/guest/test.txt http://my.server.com:8082/upload/