-
Notifications
You must be signed in to change notification settings - Fork 32
s3.abortUpload()
SaltwaterC edited this page Jan 30, 2012
·
1 revision
S3 Multipart Upload API helper for aborting a multipart upload
s3.abortUpload(path, uploadId, callback)
- 'path' - the S3 Path.
- 'uploadId' - the uploadId from s3.initUpload().
- 'callback' - the callback that is executed when the processing finishes. It has a couple of arguments: error and result.
- If there's an error, the callback receives the error argument as Error instance.
- If the error argument is null, then the response argument contains the response.headers object as returned by the node.js core HTTPS client.
Since it is basically just a simple s3.del() wrapper, it has the same behavior. Including the fact that a failure is not reported by the S3 API itself.