AbortMultipartUpload Method
Aborts a multipart upload.
Syntax
amazons3.abortMultipartUpload(objectName, uploadId, [callback])
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for this method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This method aborts a current multipart upload. When this method is called the current multipart upload is aborted. Any storage consumed by uploaded parts will be freed by the server. If there are any current uploads in progress it may be necessary to call this method again after the upload is completed.
After calling this method the UploadId is no longer valid for any operations.