An NDoc Documented Class Library

ExFTPConnection.ServerAddress Property

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

public override string ServerAddress {get; set;}

Remarks

This property may only be set if not currently connected.

The following example illustrates an SFTP client connecting to a server:

  ExFTPConnection ftp = new ExFTPConnection();
  ftp.Protocol = FileTransferProtocol.FTP;
  ftp.ServerAddress = "my-server-name";
  ftp.UserName = "my-username";
  ftp.Password = "my-password";
  ftp.Connect();
  ftp.Close();

See Also

ExFTPConnection Class | EnterpriseDT.Net.Ftp Namespace