add getTempDirectory( prefix ), for getting a unique temp directory, similar to getTempFile()

Description

i.e.

getTempDirectory( true ); returns d:\work\lucee6\temp\archive\base\lucee-server\context\temp\m698n7ld_y\

or

getTempDirectory( "invoices"); returns d:\work\lucee6\temp\archive\base\lucee-server\context\temp\invoices_m698n7ld_y\

Activity

Show:

Pothys - MitrahSoft 13 February 2025 at 10:18

I have tested this ticket with Lucee version 6.2.1.25-SNAPSHOT. When I tried to execute getTempDirectory(true) / getTempDirectory(prefix), it now creates a unique temp directory, and it works fine as expected.

Zac Spitzer 23 January 2025 at 11:26

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Priority

Created 23 January 2025 at 11:18
Updated 13 February 2025 at 10:18
Resolved 13 February 2025 at 10:18