abortMultiPartUpload

This method is used to abort a multipart upload.


void abortMultiPartUpload(String awsLocation, String uploadId)

Parameters:
awsLocation: The name of key to be uploaded as file location. You can get this value from the fileLocation of UploadRequestInfo object.
uploadId: The upload Id that you get this Id from the initializeMultipartUpload request as a return value.


Example code:

cg.SDriveTools.abortMultiPartUpload(uploadRequestInfos .fileLocation, uploadId);



Â