Compartilhar via


Membros FtpClientConnection

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

O tipo FtpClientConnection expõe os seguintes membros.

Construtores

  Nome Descrição
Método público FtpClientConnection Initializes a new instance of the FtpClientConnection class.

Início

Métodos

  Nome Descrição
Método público Close Closes the FTP connection.
Método público Connect Opens the connection to the server and returns a value that indicates the result of the connection.
Método público CreateRemoteDirectory Creates a remote directory.
Método público DeleteFiles Deletes the specified files from the File Transfer Protocol (FTP) server.
Método público DeleteRemoteDirectory Deletes a remote directory.
Método público Equals Determines whether two object instances are equal. (Herdado de DtsObject.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Returns the hash code for this instance. (Herdado de DtsObject.)
Método público GetListing Lists the names of directories and files in the specified folder or directory from the FTP server.
Método público GetType (Herdado de Object.)
Método público GetWorkingDirectory Gets the current working directory on the File Transfer Protocol (FTP) server.
Método público LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Método protegido MemberwiseClone (Herdado de Object.)
Método público ReceiveFiles Receives files from the File Transfer Protocol (FTP) server.
Método público SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Método público SendFiles Sends files to the File Transfer Protocol (FTP) server.
Método público SetWorkingDirectory Sets the current working directory on the File Transfer Protocol (FTP) server.
Método público ToString (Herdado de Object.)

Início

Propriedades

  Nome Descrição
Propriedade pública 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.
Propriedade pública 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.
Propriedade pública ServerName Gets or sets the name of the File Transfer Protocol (FTP) server.
Propriedade pública ServerPassword Sets the password for the server specified in the ServerName property. This property is write-only.
Propriedade pública ServerPort Gets or sets the port number on the server.
Propriedade pública ServerUserName Gets or sets the logon alias of the user.
Propriedade pública Timeout Gets or sets a value that indicates how long to attempt the connection before timing out.
Propriedade pública UsePassiveMode Gets or sets a Boolean that indicates whether the task sends and receives files in passive mode.

Início