FileSysLib
Last updated September 19, 2014 / 63 Released UDF(s)
Returns True if the specified drive exists on the ColdFusion server. (Windows only) | Requires: CF5
Returns the amount of space (in bytes) available to the ColdFusion server for a specified drive or network share. (Windows only) | Requires: CF5
Returns the drive letter of a physical drive or a network share. (Windows only) | Requires: CF5
Returns True if the specified folder (directory) exists on the ColdFusion server. (Windows only) | Requires: CF5
Returns the amount of free space (in bytes) available to the ColdFusion server for a specified drive or network share. (Windows only) | Requires: CF5
Returns the date/time a folder (directory) was created. (Windows only) | Requires: CF5
Returns the date/time a folder (directory) was last accessed. (Windows only) | Requires: CF5
Returns True if the specified folder is the root folder. (Windows only) | Requires: CF5
Returns the amount of space (in bytes) of all files and subfolders contained in the specified folder. (Windows only) | Requires: CF5
Returns a string corresponding to the type of folder specified. (Windows only) | Requires: CF5
Returns a string corresponding to the type of file specified. (Windows only) | Requires: CF5
Returns the total size (in bytes) of a specified drive or network share. (Windows only) | Requires: CF5
Function to set or clear a Windows file attribute (ReadOnly, Hidden, etc) for the specified file. | Requires: CF5
Convenience function to set/clear the ReadOnly attribute for the specified file. | Requires: CF5
Returns the date/time a folder (directory) was last modified. (Windows only) | Requires: CF5
Pass in a value in bytes, and this function converts it to a human-readable format of bytes, KB, MB, or GB. | Requires: CF5
Automatically creates any missing directories before writing to the specified file. | Requires: CF6
Will replace chars in a string to be used to create a folder with valid equivalent replacements | Requires: CF5
Creates a unique filename from a passed prefix, file extension and current date/time. | Requires: CF5
Scans a directory (or path) for files of a specified extension and then copies them to the path you specify. | Requires: CF6
Creates a unique file name; used to prevent overwriting when moving or copying files from one location to another. | Requires: CF5
Will take a number returned from a File.Filesize, calculate the number in terms of Bytes/Kilobytes/Megabytes and return the result. | Requires: CF5
Returns a relative path from the current template to an absolute file path. | Requires: CF5
Search CFLib.org
Latest Additions
Raymond Camden added
QueryDeleteRows
November 04, 2017
Leigh added
nullPad
May 11, 2016
Raymond Camden added
stripHTML
May 10, 2016
Kevin Cotton added
date2ExcelDate
May 05, 2016
Raymond Camden added
CapFirst
April 25, 2016