/** * 初始化分块上传,服务端会返回一个全局唯一的uploadid * **/ private static InitiateMultipartUploadResult multipartUp() { InitiateMultipartUploadResult re = ks3Client.initiateMultipartUpload(bucketName, objKeyNameFileData); Console.WriteLine(re.ToString()); return(re); }
public InitiateMultipartUploadResult TestMultipartInit() { if (init()) { InitiateMultipartUploadResult re = ks3Client.initiateMultipartUpload(bucketName, objKeyNameFileData); Assert.IsNotNull(re); return(re); } return(null); }