IPWorks Cloud 2020 Delphi Edition

Questions / Feedback?

ContentType Property

The content type to send for a file.

Syntax

property ContentType: String read get_ContentType write set_ContentType;

Default Value

''

Remarks

This property can be set before calling UploadFile, StartMultipartUpload, or (if the SendMetadataOnCopy configuration setting is enabled) CopyFile to have its value submitted as the file's Content-Type header value.

If this property is empty, the component will send b2/x-auto, which instructs the server to automatically determine the content type based on the file's extension (or set it to application/octet-stream if it cannot).

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Delphi Edition - Version 20.0 [Build 8265]