file upload with curl completed