ad_opentmpfile (public)
ad_opentmpfile varFilename [ template ]
Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Wrapper for Tcl's "file tempfile ...", but respects the server's tmpdir settings, e.g. when admin want to specify the temporary directory. The function is similar to "ns_opentmpfile", but provides a default template and uses always the configured tmp directory.
- Parameters:
- varFilename (required)
- template (optional, defaults to
"oacs"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- apm_bootstrap_upgrade, ad_page_contract_filters, util_http_json_encoding, safe_tmpfile_p, zip_and_unzip
Source code: uplevel [list ::file tempfile $varFilename [ns_config ns/parameters tmpdir]/$template]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-tcl/tcl/utilities-procs.xql