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

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy