Programming with FTP OLE Automation
LocalHomeDirectory property
Syntax |
Object.LocalHomeDirectory |
Data type |
String |
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\")
The default value is "".
None