Try this for uploading with CURL to filesonic