FTPConnectionServerAddress Property |
The domain-name or IP address of the FTP server.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic virtual string ServerAddress { get; set; }Public Overridable Property ServerAddress As String
Get
Set
public:
virtual property String^ ServerAddress {
String^ get ();
void set (String^ value);
}abstract ServerAddress : string with get, set
override ServerAddress : string with get, set
Property Value
Type:
String
RemarksThis property may only be set if not currently connected.
ExamplesThe 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