ServerName Property

Gets and sets the host name for the FTP or HTTP server.

Syntax

object.ServerName [= servername]

The object is an expression that evaluates to a FileTransfer object. The property returns a string value.

Remarks

If the ServerName property is not explicitly set, then an application must provide the host name or address to the Connect method. Once the connection has been established, this property will be updated with the appropriate value. If the server uses a non-standard port number, it can be specified using the ServerPort property.

The IP address of a remote host may be used as the ServerName.

Data Type

String

See Also

ServerPort Property, ServerType Property, URL Property, Connect Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.