IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

RootDirectory Property

The root directory for the entire SFTP server.

Syntax


 getRootDirectory(): string;

 setRootDirectory(rootDirectory: string): void;

Default Value

""

Remarks

RootDirectory specifies the root of the SFTP server ('/'). If a value is provided, the class will handle all requests by doing all file operations itself, but the events will still give you the opportunity to override the default values/operations as necessary.

If a value is not provided, all events must be handled appropriately to ensure correct operation.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 JavaScript Edition - Version 20.0 [Build 8501]