Méthode | Description | |
---|---|---|
FtpClient ( string ftpServerIp, int timeout, string ftpUserId, string ftpPassword ) : System |
创建FtpClient对象
|
|
FtpClient ( string ftpServerIp, string ftpUserId, string ftpPassword ) : System |
创建FtpClient对象
|
|
Upload ( string remotePath, string remoteFileName, Stream stream ) : void |
Méthode | Description | |
---|---|---|
Connect ( string uri, string ftpMethod ) : |
建立FTP链接,返回请求对象
|
public FtpClient ( string ftpServerIp, int timeout, string ftpUserId, string ftpPassword ) : System | ||
ftpServerIp | string | ftp链接,不用写协议头.如:127.0.0.1 |
timeout | int | 默认的超时时间 |
ftpUserId | string | 用户名 |
ftpPassword | string | 密码 |
Résultat | System |
public FtpClient ( string ftpServerIp, string ftpUserId, string ftpPassword ) : System | ||
ftpServerIp | string | ftp链接地址,不用写协议头.如:127.0.0.1 |
ftpUserId | string | 用户名 |
ftpPassword | string | 密码 |
Résultat | System |
public Upload ( string remotePath, string remoteFileName, Stream stream ) : void | ||
remotePath | string | |
remoteFileName | string | |
stream | Stream | |
Résultat | void |