Uploads a file to the object.
Parameters |
Description |
const AFilePath: string |
The path of a file to upload. |
AUseTempFiles: Boolean = False |
Optional Boolean value indicating whether to use temp-files (True) or memory (False) for buffering parts. The use of temporary files reduces memory pressure when uploading large files. |
AOnProgress: TS3UploadPartBatchProgressCallback = nil |
An optional callback providing progress updates. |
AFileUploader: IS3FileUploader = nil |
An optional IS3FileUploader instance to handle the file upload. |
A Boolean value indicating success (True) or failure (False).
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|