type
TScSFTPTextHint = (thKnownText, thGuessedText, thKnownBinary, thGuessedBinary);
property TextHint: TScSFTPTextHint;
Description
The value of the TextHint property can be one of the following set, and it indicates what information does the server have about the file content.
This property should not be set when creating file attributes.
Note: This property is supported starting with version 6 of the SFTP protocol.
Value | Meaning |
thKnownText | the server knows that the file is a text file, and it will be opened using the ofTextMode flag. |
thGuessedText | the server will apply a hueristic or other mechanism and after that the file will be opened with the ofTextMode flag. |
thKnownBinary | the server knows that the file has binary content. |
thGuessedBinary | the server will apply a hueristic or other mechanism and believes has binary content, and after that file will not be opened with the ofTextMode flag. |
See Also