type

TScSFTPServerMakeDirectoryEvent = procedure(Sender: TObject; SFTPSessionInfo: TScSFTPSessionInfo; const Path: string; var Error: TScSFTPError) of object;

 

property OnMakeDirectory: TScSFTPServerMakeDirectoryEvent;

 

Description

The OnMakeDirectory event occurs on request from an SFTP client to create a new directory.

You can call the DefaultMakeDirectory method to execute this operation or write your own implementation.

 

Parameters:

Sender - the object whose event handler is called.
SFTPSessionInfo - contains the information about the current SFTP session.
Path - specifies the directory to be created. To get an absolute directory path, use the GetFullPath method.
Error - a parameter to pass the information about an error that can arise when creating a directory.

 

See also

DefaultMakeDirectory

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