publicclassGetAndUploadFileDemo{privatestaticStringTAG="GetAndUploadFileDemo";privateOSSServiceossService;privateOSSBucketbucket;publicvoidshow(){ossService=OSSServiceProvider.getService();bucket=ossService.getOssBucket("youcaidao");//文件的常规操作如普通上传、下载、拷贝、删除等,与Data类一致,故这里只给出