PHP Class FtpSocket, cakephp-ftp

Inheritance: extends CakeSocket
Afficher le fichier Open project: fotografde/cakephp-ftp

Méthodes publiques

Свойство Type Description
$description string Object description

Protected Properties

Свойство Type Description
$_baseConfig array Base configuration settings for the socket connection
$_commands array Available FTP Commands
$_responses array Hold last x responseLength responses

Méthodes publiques

Méthode Description
__call ( string $name, array $args ) : FtpSocket Call raw FTP commands
__get ( string $name ) : mixed Get properties
connect ( string $host = null, integer $port = null ) : FtpSocket Connect
login ( string $username = null, string $password = null ) : FtpSocket Login

Méthodes protégées

Méthode Description
_response ( string $data = null ) : boolean Manage responses buffer

Method Details

__call() public méthode

Call raw FTP commands
public __call ( string $name, array $args ) : FtpSocket
$name string
$args array
Résultat FtpSocket

__get() public méthode

Get properties
public __get ( string $name ) : mixed
$name string
Résultat mixed

_response() protected méthode

Manage responses buffer
protected _response ( string $data = null ) : boolean
$data string
Résultat boolean

connect() public méthode

Connect
public connect ( string $host = null, integer $port = null ) : FtpSocket
$host string
$port integer
Résultat FtpSocket

login() public méthode

Login
public login ( string $username = null, string $password = null ) : FtpSocket
$username string
$password string
Résultat FtpSocket

Property Details

$_baseConfig protected_oe property

Base configuration settings for the socket connection
protected array $_baseConfig
Résultat array

$_commands protected_oe property

Available FTP Commands
protected array $_commands
Résultat array

$_responses protected_oe property

Hold last x responseLength responses
protected array $_responses
Résultat array

$description public_oe property

Object description
public string $description
Résultat string