| 程序包 | 说明 |
|---|---|
| cn.com.fishin.tuz.factory | |
| cn.com.fishin.tuz.helper | |
| cn.com.fishin.tuz.plugin |
| 限定符和类型 | 方法和说明 |
|---|---|
static FTPUploadFile |
FTPUploadFileFactory.make(int fileType,
java.lang.String remoteDirection,
java.lang.String remoteFileName,
java.io.InputStream inputStream)
生成一个待上传文件
Create a file to be uploaded
|
static FTPUploadFile |
FTPUploadFileFactory.makeAsciiFile(java.lang.String remoteDirection,
java.lang.String remoteFileName,
java.io.InputStream inputStream)
生成一个待上传文本文件
Create a text file to be uploaded
|
static FTPUploadFile |
FTPUploadFileFactory.makeBinaryFile(java.lang.String remoteDirection,
java.lang.String remoteFileName,
java.io.InputStream inputStream)
生成一个待上传二进制文件
Create a binary file to be uploaded
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
FTPHelper.upload(FTPUploadFile file,
java.lang.String controlEncoding)
上传一个文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性
Upload a file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server
|
static boolean |
FTPHelper.uploadAscii(FTPUploadFile file,
java.lang.String controlEncoding)
上传一个文本文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性
Upload a text file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server
|
static boolean |
FTPHelper.uploadBinary(FTPUploadFile file,
java.lang.String controlEncoding)
上传一个二进制文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性
Upload a binary file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
NetPlugin.uploadToServer(FTPUploadFile file)
上传一个文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性,
controlEncoding 是网络通信使用的编码,是内部赋值的,外界不需要知道,它的默认值是在 TuzConfig 中
Upload a file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server.
|
Copyright © 2019. All Rights Reserved.