add curlite::upload method