lib/plugin/webauth/vendor/phpseclib/phpseclib/phpseclib/NetSCP.php

Pure-PHP implementation of SCP.

PHP version 5

The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.

Here's a short example of how to use this library: <?php include 'vendor/autoload.php';

$ssh = new \phpseclib\Net\SSH2('www.domain.tld'); if (!$ssh->login('username', 'password')) { exit('bad login'); } $scp = new \phpseclib\Net\SCP($ssh);

$scp->put('abcd', str_repeat('x', 1024*1024)); ?>

Classes

SCP Pure-PHP implementations of SCP.