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.

 

ValueMeaning
thKnownTextthe server knows that the file is a text file, and it will be opened using the ofTextMode flag.
thGuessedTextthe server will apply a hueristic or other mechanism and after that the file will be opened with the ofTextMode flag.
thKnownBinarythe server knows that the file has binary content.
thGuessedBinarythe 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

ValidAttributes

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support