Unit

ScSFTPUtils

 

type

 TScSFTPRealpathControl = (rcNoCheck, rcStatIf, rcStatAlways);

 

Description

The TScSFTPRealpathControl enumeration indicates different ways of identifying the absolute path by an SFTP server.

 

ValueMeaning
rcNoCheckSFTP server does not raise an error if the path does not exist, is hidden, or the user does not have access to the path or some component thereof.
rcStatIfSFTP server uses the path if it exists and is accessible to the client. However, if the path does not exist, isn't visible, or isn't accessible, the server does not raise an error. If the status of the file fails, the file type will be ftUnknown.
rcStatAlwaysSFTP server uses the path. If the status of the file fails, the server raises the error.

 

See also

TScSFTPClient.RetrieveAbsolutePath

TScSFTPServer.DefaultGetAbsolutePath

 

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