Beispiel #1
0
        public void FinishMultipartUploadTest()
        {
            var entity = ufile.InitiateMultipartUpload(bigfilePath, key: key);

            for (int i = 0; i < 100000; i++)
            {
                if (ufile.PartFile.IsLast)
                {
                    break;
                }

                ufile.UploadPart(i);
            }

            var response = ufile.FinishMultipartUpload("SSHHEE.pdf");

            Assert.AreEqual(response.RetCode, 0);
        }