Looking up the file

You can look up for the file using the get function as shown in the following example:

<cfset fileobj=cfclient.file.get(“myNewFile.txt”)>

Method summary

get(filePath) – Lookup for the file in  the given path

  • returns – A FileEntry object
  • params

-           filePath – An absolute or relative path of the file (including the file 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