PHP Class NukeViet\Ftp\Ftp

Author: VINADES.,JSC
Afficher le fichier Open project: nukeviet/nukeviet

Méthodes publiques

Свойство Type Description
$error Du lieu xuat ra, du lieu kiem tra
$logined

Méthodes publiques

Méthode Description
__construct ( string $host = '', string $user = 'root', string $pass = '', mixed $config = [], integer $port = 21 )
chdir ( mixed $path )
close ( )
detectFtpRoot ( mixed $list_valid = [], string $path_root = '', boolean $read_buffer = true, string $read_file = 'index.php' )
listDetail ( mixed $path = null, string $type = 'raw', $show_hidden = false )
mkdir ( $dir )
pwd ( )
read ( mixed $remote, mixed &$buffer )
rename ( $old, $new )
rmdir ( $dir )
unlink ( $file )

Méthodes protégées

Méthode Description
DetectedMode ( mixed $fileName )

Private Methods

Méthode Description
check_login ( )

Method Details

DetectedMode() protected méthode

protected DetectedMode ( mixed $fileName )
$fileName mixed

__construct() public méthode

public __construct ( string $host = '', string $user = 'root', string $pass = '', mixed $config = [], integer $port = 21 )
$host string
$user string
$pass string
$config mixed
$port integer

chdir() public méthode

public chdir ( mixed $path )
$path mixed

close() public méthode

public close ( )

detectFtpRoot() public méthode

public detectFtpRoot ( mixed $list_valid = [], string $path_root = '', boolean $read_buffer = true, string $read_file = 'index.php' )
$list_valid mixed
$path_root string
$read_buffer boolean
$read_file string

listDetail() public méthode

public listDetail ( mixed $path = null, string $type = 'raw', $show_hidden = false )
$path mixed
$type string

mkdir() public méthode

public mkdir ( $dir )

pwd() public méthode

public pwd ( )

read() public méthode

public read ( mixed $remote, mixed &$buffer )
$remote mixed
$buffer mixed

rename() public méthode

public rename ( $old, $new )

rmdir() public méthode

public rmdir ( $dir )

Property Details

$error public_oe property

Du lieu xuat ra, du lieu kiem tra
public $error

$logined public_oe property

public $logined