RootDirectory Property

The root directory for the entire SFTP server.

Object Oriented Interface

public function getRootDirectory();
public function setRootDirectory($value);

Procedural Interface

ipworkssftp_sftpserver_get($res, 20 );
ipworkssftp_sftpserver_set($res, 20, $value );

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.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 PHP Edition - Version 20.0 [Build 8263]