RootDirectory Property
The root directory for the entire SFTP server.
Object Oriented Interface
public function getRootDirectory(); public function setRootDirectory($value);
Procedural Interface
ipworksssh_sftpserver_get($res, 20 ); ipworksssh_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