PHP Class NukeViet\Ftp\Ftp

Author: VINADES.,JSC
ファイルを表示 Open project: nukeviet/nukeviet

Public Properties

Property Type Description
$error Du lieu xuat ra, du lieu kiem tra
$logined

Public Methods

Method 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 )

Protected Methods

Method Description
DetectedMode ( mixed $fileName )

Private Methods

Method Description
check_login ( )

Method Details

DetectedMode() protected method

protected DetectedMode ( mixed $fileName )
$fileName mixed

__construct() public method

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 method

public chdir ( mixed $path )
$path mixed

close() public method

public close ( )

detectFtpRoot() public method

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 method

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

mkdir() public method

public mkdir ( $dir )

pwd() public method

public pwd ( )

read() public method

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

rename() public method

public rename ( $old, $new )

rmdir() public method

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