edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPConnectionPassword Property

Password of account on the server.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public virtual string Password { get; set; }

Property Value

String
The password of the account the FTP server that will be logged into upon connection.

Remarks

>This property must be set before a connection with the server is made.

Example

The following example illustrates an FTP client connecting to a server:
FTPConnection ftp = new FTPConnection(); ftp.ServerAddress = "my-server-name"; ftp.UserName = "my-username"; ftp.Password = "my-password"; ftp.Connect(); ftp.Close();

See Also