You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Vieille c5e785c3a8 merge failed... 8 years ago
src merge failed... 8 years ago Update 9 years ago
changelog.rst added changelog 9 years ago
composer.json Update composer.json 9 years ago


Library that provides wrapper methods around SSH2, SCP and SFTP to simplify file download/upload over SSH/SCP/SFTP.


I am still thinking about unification of download / upload methods by passing a paramter which would define the connection type therefore method names may change.


use IDCT\Networking\Ssh\SftpClient;
use IDCT\Networking\Ssh\Credentials;

$client = new SftpClient();

$username = 'YOUR_USER_NAME';
$password = 'YOUR_PASSWORD';
$host = 'HOST_NAME';

$credentials = Credentials::withPassword($username, $password);