public void Upload(COSXMLUploadTask uploader) { uploader.InitCosXmlServer(cosXml); uploader.SetDivision(transferConfig.DivisionForUpload, transferConfig.SliceSizeForUpload); uploader.Upload(); }