Class: WindSocketFtp
Source Location: /ftp/WindSocketFtp.php
Class WindSocketFtp
Inherited Properties, Constants, and Methods
Methods
WindSocketFtp __construct(
[array
$config = array()]
)
|
|
构造函数
通过传入config构造链接对象
Parameters:
API Tags:
void download(
$localfile, [
$remotefile = ''], [
$mode = 'I']
)
|
|
Parameters:
|
$localfile: |
|
|
$remotefile: |
|
|
$mode: |
|
API Tags:
Redefinition of:
- AbstractWindFtp::download()
- 下载文件
void upload(
$localfile,
$remotefile, [
$mode = 'A']
)
|
|
Parameters:
|
$localfile: |
|
|
$remotefile: |
|
|
$mode: |
|
API Tags:
Redefinition of:
- AbstractWindFtp::upload()
- 上传文件
|
|