Do you know the https://www.filepicker.io/ services ?
With this service I can upload my file from almost everywhere.
But not from CLI so I wrote a bash script to allows this.
You can find it here: https://gist.github.com/3849963
I realized a simply function so I can use that in my .bashrc file so I can call it with:
First of all you must put into a APIKEY variable your APIKEY.
If you don't have any apikey you have to go on this link: https://developers.filepicker.io/getKey?email=**YOUR@EMAIL.HERE**
If you want manage your file you can create a free account with the same email.
This are some images example: