Spec-Zone.ru › ColdFusion

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

  • CF
  • Lucee
  • BL 1.0.0+
  • See Also: getTempFile

    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

    Show temp directory path

    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

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API