The domain-name or IP address of the FTP server.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
Remarks
This property may only be set if not currently connected.
Examples
The following example illustrates an SFTP client
connecting to a server:
SecureFTPConnection ftp = new SecureFTPConnection();
ftp.Protocol = FileTransferProtocol.SFTP;
ftp.ServerAddress = "my-server-name";
ftp.UserName = "my-username";
ftp.Password = "my-password";
ftp.AuthenticationMethod = AuthenticationType.Password;
ftp.ServerValidation = SecureFTPServerValidationType.None;
ftp.Connect();
ftp.Close();
| |