Sdílet prostřednictvím


FTPClientConnection100Class Class

Definition

Provides properties and methods for an FTP client task.

public ref class FTPClientConnection100Class : Microsoft::SqlServer::Dts::Runtime::Wrapper::FTPClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("CCCD3499-1569-4001-AC4E-AA6A1B53F0D4")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class FTPClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("38BFBCC8-3C1E-4E28-8417-8C5401BBBF27")]
public class FTPClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("D7623778-554E-4538-A5D3-A80E77047B93")]
public class FTPClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("CCCD3499-1569-4001-AC4E-AA6A1B53F0D4")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type FTPClientConnection100Class = class
    interface IDTSFtpClientConnection100
    interface FTPClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("38BFBCC8-3C1E-4E28-8417-8C5401BBBF27")>]
type FTPClientConnection100Class = class
    interface IDTSFtpClientConnection100
    interface FTPClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("D7623778-554E-4538-A5D3-A80E77047B93")>]
type FTPClientConnection100Class = class
    interface IDTSFtpClientConnection100
    interface FTPClientConnection100
Public Class FTPClientConnection100Class
Implements FTPClientConnection100
Inheritance
FTPClientConnection100Class
Attributes
Implements

Constructors

FTPClientConnection100Class()

Initializes a new instance of the FTPClientConnection100Class class.

Properties

ChunkSize

Gets or sets the amount of data in bytes for the data transfer.

Retries

Gets or sets the number of times the task attempts an operation.

ServerName

Gets or sets the name of the FTP server.

ServerPassword

Gets or sets the password for authentication.

ServerPort

Gets or sets the FTP server port.

ServerUserName

Gets or sets the logon alias of the user.

Timeout

Gets or sets a value that indicates how long to attempt the connection before timing out.

UsePassiveMode

Gets or sets a value that indicates whether the task sends and receives files in passive mode.

Methods

Close()

Closes connection to the FTP server.

Connect()

Attempts to establish a connection to FTP server.

CreateRemoteDirectory(String)

Creates the specified folder on the FTP server.

DeleteFiles(String[])

Deletes the list of files on the FTP server.

DeleteRemoteDirectory(String)

Deletes the specified folder on the FTP server.

GetListing(String[], String[])

Gets a listing of files on the current working directory.

GetWorkingDirectory()

Gets the current working directory.

ReceiveFiles(String[], String, Boolean, Boolean)

Receives the files from the FTP server.

SendFiles(String[], String, Boolean, Boolean)

Sends the files from the local computer to the FTP server.

SetWorkingDirectory(String)

Sets the current working directory to the specified path.

Applies to