An NDoc Documented Class Library

FTPConnection.ServerAddress Property

The domain-name or IP address of the FTP server.

public virtual string ServerAddress {get; set;}

Remarks

This property may only be set if not currently connected.

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