FtpClientConnection 클래스

Downloads and uploads data files and manages directories on servers. This class cannot be inherited.

상속 계층

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..FtpClientConnection

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public NotInheritable Class FtpClientConnection _
    Inherits DtsObject _
    Implements IDTSPersist
‘사용 방법
Dim instance As FtpClientConnection
public sealed class FtpClientConnection : DtsObject, 
    IDTSPersist
public ref class FtpClientConnection sealed : public DtsObject, 
    IDTSPersist
[<SealedAttribute>]
type FtpClientConnection =  
    class
        inherit DtsObject
        interface IDTSPersist
    end
public final class FtpClientConnection extends DtsObject implements IDTSPersist

FtpClientConnection 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 FtpClientConnection Initializes a new instance of the FtpClientConnection class.

맨 위로 이동

속성

  이름 설명
공용 속성 ChunkSize Gets or sets the value that indicates the minimum number of bytes to retrieve from or send to the server during a File Transfer Protocol (FTP) read/write operation.
공용 속성 Retries Gets or sets the number of times the task attempts an operation. A value of 0 indicates that there is no limit on attempts.
공용 속성 ServerName Gets or sets the name of the File Transfer Protocol (FTP) server.
공용 속성 ServerPassword Sets the password for the server specified in the ServerName property. This property is write-only.
공용 속성 ServerPort Gets or sets the port number on the server.
공용 속성 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 Boolean that indicates whether the task sends and receives files in passive mode.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Close Closes the FTP connection.
공용 메서드 Connect Opens the connection to the server and returns a value that indicates the result of the connection.
공용 메서드 CreateRemoteDirectory Creates a remote directory.
공용 메서드 DeleteFiles Deletes the specified files from the File Transfer Protocol (FTP) server.
공용 메서드 DeleteRemoteDirectory Deletes a remote directory.
공용 메서드 Equals Determines whether two object instances are equal. (DtsObject에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode Returns the hash code for this instance. (DtsObject에서 상속됨)
공용 메서드 GetListing Lists the names of directories and files in the specified folder or directory from the FTP server.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 GetWorkingDirectory Gets the current working directory on the File Transfer Protocol (FTP) server.
공용 메서드 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ReceiveFiles Receives files from the File Transfer Protocol (FTP) server.
공용 메서드 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
공용 메서드 SendFiles Sends files to the File Transfer Protocol (FTP) server.
공용 메서드 SetWorkingDirectory Sets the current working directory on the File Transfer Protocol (FTP) server.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

For more information about the FTP task, see FTP 연결 관리자.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.