Back to product page

Hostname property


Determines the Hostname of the remote server.

Type

A String value

Syntax

  • Basic
object.Hostname [= value]
The Hostname(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSFTP.
valueA String value. Represents the name of the remote server.

Remarks

Prior to issuing the Connect method, you should set the Hostname property to the name of the remote server or its IP address. wodSFTP will resolve the supplied string and will use this value when the Connect method is called.

Resolution of the hostname can take a few seconds and it depends on your operating system. It is possible that the component will freeze during this time because name resolution is a blocking call. There is not much that the component can do to prevent this from happening.

Platforms

Windows