pkg_upload: create simple API for upload functions by client