UploadObject
Uploads an object in a single operation. Use the SimpleUploadLimit connection property to adjust the threshold, in bytes, at which a multipart upload is performed.
Input
| Name | Type | Required | Accepts Input Streams | Description |
| Bucket | String | True | False | The name of the bucket where the object is uploaded. |
| ContentStream | String | False | True | The content, as an InputStream, to upload when LocalFilePath or ObjectInformationAggregate is not specified. |
| ObjectName | String | False | False | The name of the uploaded object. Specify this value only when uploading the content as an InputStream. |
| FolderPath | String | False | False | The path to the folder that receives the data of the object. |
| LocalFilePath | String | False | False | The path to the file that is uploaded to the bucket. If this is a path to a folder, all the files in the folder are uploaded to the bucket. |
| ContentType | String | False | False | The Content-Type of the object data. |
| ObjectInformationAggregate | String | False | False | An aggregate representing the object information. Can be in the form of XML, JSON, or a #TEMP table. |
| GetSignedUrl | Boolean | False | False | Indicates whether to return a signed URL. Only available when OAuthJWTCert is set.
The default value is false. |
| ExpiresIn | String | False | False | The expiration time for the signed URL, in the format 1d2h3m4s. The maximum value is 7d0h0m0s. |
Result Set Columns
| Name | Type | Description |
| Object | String | The name of the object that is uploaded. |
| Success | String | Indicates whether the stored procedure executed successfully. |
| SignedURL | String | Returns a signed URL that can be used to download the resource. |