Upload the contents of a stream to an object in an S3 bucket.
Parameters |
Description |
const AStream: TStream |
A stream containing the object's content to upload. |
ABucket: string |
The name of a bucket to upload to. |
AKey: string |
An object key to use for the uploaded file. |
AUseTempFiles: Boolean = False |
Specifies whether temporary files should be used when performing multipart uploads. Using temporary files can reduce memory pressure when performing large uploads at the cost of storage space and disk I/O. |
AOnProgress: TS3UploadPartBatchProgressCallback = nil |
A callback providing progress updates. |
A Boolean value indicating success (True) or failure (False) of the upload.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|