getTempDirectory
Gets the path of the directory that CFML uses for temporary files. Before using this function in an application, test to determine the directory it returns under your account. Returns the absolute pathname of a directory, including a trailing slash.
getTempDirectory() → returns string
Links more information about getTempDirectory
- GetTempDirectory returns different path in MX - Blog entry showing that as of ColdFusion MX 6 GetTempDirectory returns a different path than CF5. On CF5 and below it would return the OS temp directory.
Examples Sample code invoking the getTempDirectory function
File system path where temporary files are stored
getTempDirectory()
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/gettempdirectory