FTPClient Class

HD.Common

FTPClient Class Helper帮助文档
Ftp客户端相关类
Inheritance Hierarchy

SystemObject  HD.CommonFTPClient

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class FTPClient
Public Class FTPClient
public ref class FTPClient
type FTPClient =  class end

The FTPClient type exposes the following members.

Constructors

  NameDescription
Public methodFTPClient
缺省构造函数
Public methodFTPClient(String, String, String, String, Int32)
构造函数
Top
Methods

  NameDescription
Public methodChDir
改变目录
Public methodConnect
建立连接
Public methodDelete
删除
Public methodDir
获得文件列表
Public methodDisConnect
关闭连接
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGet(String, String)
下载一批文件
Public methodGet(String, String, String)
下载一个文件
Public methodGetFileInfo
获取文件信息
Public methodGetFileSize
获取文件大小
Public methodGetHashCode (Inherited from Object.)
Public methodGetNoBinary
下载一个文件
Public methodGetTransferType
获得传输模式
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMkDir
创建目录
Public methodnewPutByGuid
Public methodPut(String)
上传一个文件
Public methodPut(String, String)
上传一批文件
Public methodPutByGuid
上传一个文件
Public methodRename
重命名(如果新文件名与已有文件重名,将覆盖已有文件)
Public methodRmDir
删除目录
Public methodSendCommand
发送命令并获取应答码和最后一行应答字符串
Public methodSetTransferType
设置传输模式
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberobj
Top
Properties

  NameDescription
Public propertyConnected
是否登录
Public propertyRemoteHost
FTP服务器IP地址
Public propertyRemotePass
用户登录密码
Public propertyRemotePath
当前服务器目录
Public propertyRemotePort
FTP服务器端口
Public propertyRemoteUser
登录用户账号
Top
See Also

Reference