Documentation

Ftp
in package

Table of Contents

Properties

$ftp  : mixed

Methods

end()  : mixed
put_all()  : mixed
本地文件全部同步到FTP
start()  : mixed
初始化

Properties

$ftp

public static mixed $ftp

Methods

end()

public static end() : mixed

put_all()

本地文件全部同步到FTP

public static put_all(mixed $source_directory[, mixed $target_directory = '' ]) : mixed
Parameters
$source_directory : mixed

= DIR.'/uploads'

$target_directory : mixed = ''

如uploads

start()

初始化

public static start([mixed $arr = [] ]) : mixed
Parameters
$arr : mixed = []

        
On this page

Search results