deprecated bucketUpload from lib