ServerName Property  

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


object.ServerName [= servername ]


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 server may be used as the ServerName.

Data Type


See Also

ServerPort Property, ServerType Property, URL Property, Connect Method