Uploads the file or stream specified by the request.
To track the progress of the upload,
add an event listener to the request's UploadProgressEvent.
For large uploads, the file will be divided and uploaded in parts using
Amazon S3's multipart API. The parts will be reassembled as one object in
Amazon S3.
Declaration Syntax
C# |
public void Upload( TransferUtilityUploadRequest request )
Parameters
- request (TransferUtilityUploadRequest)
- Contains all the parameters required to upload to Amazon S3.
Remarks
If you are uploading large files, TransferUtility will use multipart upload to fulfill the request. If a multipart upload is interrupted, TransferUtility will attempt to abort the multipart upload. Under certain circumstances (network outage, power failure, etc.), TransferUtility will not be able to abort the multipart upload. In this case, in order to stop getting charged for the storage of uploaded parts, you should manually invoke TransferUtility.AbortMultipartUploads() to abort the incomplete multipart uploads.