2017 © Pedro Peláez
 

library connection

A PHP class to transfer data using different protocols (sftp, ftp, http, etc). Utilizes PHPs ssh2, ftp and curl functions if available.

image

tangervu/connection

A PHP class to transfer data using different protocols (sftp, ftp, http, etc). Utilizes PHPs ssh2, ftp and curl functions if available.

  • Wednesday, November 22, 2017
  • by tangervu
  • Repository
  • 5 Watchers
  • 16 Stars
  • 47 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Connection.php

A PHP class to transfer data using different protocols (sftp, ftp, http, etc). Utilizes PHPs ssh2, ftp and curl functions if available., (*1)

Installation

The recommended way to install Connection.php is through Composer., (*2)

{
    "require": {
        "tangervu/connection": "dev-master"
    }
}

Example

<?php
require('vendor/autoload.php'); //Use composer autoload
$conn = new Connection('ftp://ftp.funet.fi');
//List directory contents
print_r($conn->ls());
//Display contents of the README file
echo $conn->get('README');

License

LGPL v3, (*3)

The Versions

22/11 2017

dev-master

9999999-dev https://github.com/tangervu/Connection.php

A PHP class to transfer data using different protocols (sftp, ftp, http, etc). Utilizes PHPs ssh2, ftp and curl functions if available.

  Sources   Download

LGPL-3.0

curl http ssh sftp ftp scp