Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
Looking up the directory
You can look up for the directory using the getDirectory function as shown in the following example:
<cfset dirobj=cfclient.file.getDirectory(“myNewDir”)> |
Method summary
getDirectory(dirPath) – Lookup for the directory in the given path
- returns – A DirectoryEntry object
- params
- dirPath – An absolute or relative path of the directory (including directory name).