File Uploads and Relative Paths

Home » File Uploads and Relative Paths

is used for file system management, as well as for processing uploaded files. File paths may be relative for some operations, but not for specifying the destination path when ACTION=”UPLOAD”. So how can you use relative paths? Simple pass the relative path to the ExpandPath() function and ColdFusion will return a valid absolute path that you can use. (Applies to: ColdFusion 3 (or later))

Leave a Reply