public __construct ( |
||
$sftp | An Sftp instance | |
$directory | string | The distant directory |
$create | boolean | Whether to create the remote directory if it does not exist |
public function __construct(SecLibSFTP $sftp, $directory = null, $create = false)
{
$this->sftp = $sftp;
$this->directory = $directory;
$this->create = $create;
}