trace
- Last Updated: June 3, 2026
- 1 minute read
- WS_FTP Pro
- Version 13.0
- Documentation
trace
Syntax: TRACE (Screen or filename or Off)
What it does: Sends detailed information on the command to the specified location.
- Screen - Sends output to the "Trace" window.
- filename - Sends output to a file. If a file of filename does not exist, it is created; otherwise, it is opened for appending and tracing output is written to this file. (If TRACE is later redirected to the screen or turned off, the file is closed and no more information is written to it).
- Off - Turns off output of TRACE information.
Note: This command is most effective when used at the very beginning of a new script; it provides information that is extremely useful in getting a script up and running.