An NDoc Documented Class Library

FTPConnection.Password Property

Password of account on the server.

public virtual string Password {get; set;}

Property Value

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.

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

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace