piqd.com

Use the piqd API to upload a file and get a link from the command-line.

You can upload to piqd.com via command-line with:
# curl piqd.com/api -F "file=@upload.txt"

The output from the API is a url to view/download the file:
http://piqd.com/api?g=DB3439CE-18D5-4407-8586-5AAD56390508

Appdend "&dl" to the url for a browser to download the file:
http://piqd.com/api?g=DB3439CE-18D5-4407-8586-5AAD56390508&dl

You can also use this python script (download) to upload files.
# python piqd.py upload.txt
service by nanch privacy