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) |
设置客户端连接的工作目录。 |