Programming with FTP OLE Automation

LocalHomeDirectory property

 Syntax Object.LocalHomeDirectory Object.LocalHomeDirectory = Value Data type String

Description

Returns (first syntax line) or specifies (second syntax line) a folder on the PC. The Reflection sets this as the current folder immediately after a connection is made.

This value is relevant only when it is set before a connection is made. To set set the local directory at any time after a connection is made, you can use ExecuteFTPCommand to send the FTP command LCD. For example:

dim retval as string

retval = FTPObject.ExecuteFTPCommand("lcd c:\program files\reflection\")

Values

The default value is "".

None