Retrieving the Server's Home Directory

Use the HomeDir property to return a string value containing the name of the server's home directory.

Syntax

String Object.HomeDir

Example

Set MySite = CreateObject("CuteFTPPro.TEConnection")

'Initialize all necessary fields for MySite : host name, user, password, etc.

MsgBox "Home dir for server " + MySite.Host + " is: " + MySite.HomeDir