Zoomed Image

AMSX Scripting Language - Command : savetextfileprivate

Summary

Save the result buffer to a file in the private customer data area

Description

Writes the current result buffer to a file inside the WebServerPathDBPrivate folder. The file name must not contain path separators or ".." to prevent directory traversal. Use this for outputs that should not be accessible via the web.

Parameters

ParameterDescription
cmdFile name only (no path separators or ".." allowed)

Syntax


SaveTextFilePrivate "File name only (no path separators or ".." allowed)"

Return to the AMSX Command Reference