FTP::__construct

public function FTP::__construct

public FTP::__construct($jail, $username, $password, $hostname, $port)

Constructs a Drupal\Core\FileTransfer\FileTransfer object.

Parameters

$jail: The full path where all file operations performed by this object will be restricted to. This prevents the FileTransfer classes from being able to touch other parts of the filesystem.

Overrides 登录查看完整内容