AdobeStock_455007340

Manipulating File Paths

When working with file paths it is often necessary to extract specific portions of the path, for example, just the file name, or just the directory. Instead of performing manual processing to extract these values, you should use the CFML functions GetFileFromPath() and GetDirectoryFromPath() (which do exactly what their names suggest), these are both simpler and safer. (Applies to: ColdFusion All)

Leave a Reply

Discover more from Ben Forta

Subscribe now to keep reading and get access to the full archive.

Continue reading