PHP Class Host, WePloy

显示文件 Open project: rlerdorf/WePloy Class Usage Examples

Public Properties

Property Type Description
$name

Public Methods

Method Description
__construct ( $host, $target, $log, $pwd = NULL )
exec ( $cmd )
scp ( $local_file, $remote_file, $mode = 420 )
sftp ( $local_file, $remote_file )

Private Methods

Method Description
connect ( $host, $target, $pwd = NULL )
disconnect ( $reason, $message, $language )

Method Details

__construct() public method

public __construct ( $host, $target, $log, $pwd = NULL )

exec() public method

public exec ( $cmd )

scp() public method

public scp ( $local_file, $remote_file, $mode = 420 )

sftp() public method

public sftp ( $local_file, $remote_file )

Property Details

$name public_oe property

public $name