cfclient.file.getDirectory

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).

Get help faster and easier

New user?