DSL
sftp_client()
sftp_client(string $host, string $user, string|PrivateKey $credential[, int $port = 22 ]) : SFTP
Parameters
-
$host
: string
-
-
$user
: string
-
-
$credential
: string|PrivateKey
-
-
$port
: int
= 22
-
-
throws
-
RuntimeException
sftp_filesystem()
sftp_filesystem(SFTP $sftp[, Options $options = new Options() ][, string $protocol = 'sftp' ]) : SFTPFilesystem
Parameters
-
$sftp
: SFTP
-
-
$options
: Options
= new Options()
-
-
$protocol
: string
= 'sftp'
-
sftp_filesystem_options()
sftp_filesystem_options() : Options