IDTSFtpClientConnection100 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示FTP客户端连接的接口。
public interface class IDTSFtpClientConnection100
[System.Runtime.InteropServices.Guid("29CE4168-A47F-41B0-A455-FAAC04E36A30")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FNonExtensible)]
public interface IDTSFtpClientConnection100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FNonExtensible)]
[System.Runtime.InteropServices.Guid("C20A129F-67DA-49E0-9FFD-3965D031A70B")]
public interface IDTSFtpClientConnection100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FNonExtensible)]
[System.Runtime.InteropServices.Guid("2087DF1D-8A5D-47A8-A00D-38CA51C10B43")]
public interface IDTSFtpClientConnection100
[<System.Runtime.InteropServices.Guid("29CE4168-A47F-41B0-A455-FAAC04E36A30")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FNonExtensible)>]
type IDTSFtpClientConnection100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FNonExtensible)>]
[<System.Runtime.InteropServices.Guid("C20A129F-67DA-49E0-9FFD-3965D031A70B")>]
type IDTSFtpClientConnection100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FNonExtensible)>]
[<System.Runtime.InteropServices.Guid("2087DF1D-8A5D-47A8-A00D-38CA51C10B43")>]
type IDTSFtpClientConnection100 = interface
Public Interface IDTSFtpClientConnection100
- 派生
- 属性
属性
| 名称 | 说明 |
|---|---|
| ChunkSize |
用来确定区块的大小。 |
| Retries |
它会记录或设置FTP客户端重新尝试连接的次数。 |
| ServerName |
获取或设置服务器名称。 |
| ServerPassword |
设置服务器密码。 |
| ServerPort |
获取或设置连接中使用的服务器端口。 |
| ServerUserName |
获取或设置服务器的用户名。 |
| Timeout |
获取或设定连接时间。 |
| UsePassiveMode |
获取或设置客户端连接是否使用被动模式。 |
方法
| 名称 | 说明 |
|---|---|
| Close() |
这样会关闭客户端连接。 |
| Connect() |
为客户建立连接。 |
| CreateRemoteDirectory(String) |
为连接创建一个远程目录。 |
| DeleteFiles(String[]) |
删除客户端连接的文件。 |
| DeleteRemoteDirectory(String) |
删除客户端连接的远程目录。 |
| GetListing(String[], String[]) |
获取客户关联的房源信息。 |
| GetWorkingDirectory() |
它获取客户端连接的工作目录。 |
| ReceiveFiles(String[], String, Boolean, Boolean) |
从远程接收文件...... |
| SendFiles(String[], String, Boolean, Boolean) |
把文件发送到远程地点。 |
| SetWorkingDirectory(String) |
为客户端连接设置工作目录。 |