HTTP(S) PUT w/Basic Authentiation via Curl
Need to use a secure HTTP PUT over SSL using Basic Auth?
curl -T file.txt -u https://[hostname]/[uri]
Add a -v to see that connection with verbose output.
Short URL for this post: http://tmblr.co/ZufQ6y18sGPJ