Log In    |    Knowledge Base    |    4D Home
Tech Tip: Getting the path to a 4D Client's downloaded database folder
PRODUCT: 4D | VERSION: 2004.1 | PLATFORM: Mac & Win
Published On: May 11, 2005

Working in a client server environment is one of the great advantages of using 4D. A new feature in 4D allows you to retrieve the path to the folder that gets downloaded to each 4D client machine.

To get the folder to the 4D client machine, you can execute the following code:


$path will contain the full path of the folder that is downloaded on the 4D Client machine. This method is especially useful if you are working with external files and you want to read or write from or to those files on the client's disk.