Partilhar via


FtpClientConnection Members

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

The following tables list the members exposed by the FtpClientConnection type.

Public Constructors

  Name Description
FtpClientConnection Initializes a new instance of the FtpClientConnection class.

Top

Public Properties

  Name Description
ms212650.pubproperty(en-US,SQL.90).gif 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.
ms212650.pubproperty(en-US,SQL.90).gif 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.
ms212650.pubproperty(en-US,SQL.90).gif ServerName Gets or sets the name of the File Transfer Protocol (FTP) server.
ms212650.pubproperty(en-US,SQL.90).gif ServerPassword Sets the password for the server specified in the ServerName property. This property is write-only.
ms212650.pubproperty(en-US,SQL.90).gif ServerPort Gets or sets the port number on the server.
ms212650.pubproperty(en-US,SQL.90).gif ServerUserName Gets or sets the logon alias of the user.
ms212650.pubproperty(en-US,SQL.90).gif Timeout Gets or sets a value that indicates how long to attempt the connection before timing out.
ms212650.pubproperty(en-US,SQL.90).gif UsePassiveMode Gets or sets a Boolean that indicates whether the task sends and receives files in passive mode.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms212650.pubmethod(en-US,SQL.90).gif Close Closes the FTP connection.
ms212650.pubmethod(en-US,SQL.90).gif Connect Opens the connection to the server and returns a value that indicates the result of the connection.
ms212650.pubmethod(en-US,SQL.90).gif CreateRemoteDirectory Creates a remote directory.
ms212650.pubmethod(en-US,SQL.90).gif DeleteFiles Deletes the specified files from the File Transfer Protocol (FTP) server.
ms212650.pubmethod(en-US,SQL.90).gif DeleteRemoteDirectory Deletes a remote directory.
ms212650.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms212650.pubmethod(en-US,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms212650.pubmethod(en-US,SQL.90).gif GetListing Lists the names of directories and files in the specified folder or directory from the FTP server.
ms212650.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms212650.pubmethod(en-US,SQL.90).gif GetWorkingDirectory Gets the current working directory on the File Transfer Protocol (FTP) server.
ms212650.pubmethod(en-US,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms212650.pubmethod(en-US,SQL.90).gifms212650.static(en-US,SQL.90).gif op_Equality  (inherited from DtsObject )
ms212650.pubmethod(en-US,SQL.90).gifms212650.static(en-US,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms212650.pubmethod(en-US,SQL.90).gif ReceiveFiles Receives files from the File Transfer Protocol (FTP) server.
ms212650.pubmethod(en-US,SQL.90).gifms212650.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212650.pubmethod(en-US,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms212650.pubmethod(en-US,SQL.90).gif SendFiles Sends files to the File Transfer Protocol (FTP) server.
ms212650.pubmethod(en-US,SQL.90).gif SetWorkingDirectory Sets the current working directory on the File Transfer Protocol (FTP) server.
ms212650.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms212650.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms212650.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

FtpClientConnection Class
Microsoft.SqlServer.Dts.Runtime Namespace