Using the Trace Window

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP >

Using the Trace Window

 

When debugging scripts, it is often helpful to activate the Robo-FTP trace window. The contents of this window mirror what is written to the trace log file and gives you an immediate, visual record of what is occurring during the FTP session.

 

The trace window lists FTP commands sent to the server and the server response. When file date/time stamps are compared between local and FTP site files, information about both files appears in the trace window. FTP site directory listings are echoed to the trace window. This and other status messages are useful to someone troubleshooting an FTP session or debugging script execution.

 

The trace window contains only the most recent history of trace information (~5000 lines) that is written to the trace log file.

 

The trace window is enabled using the Enable Trace Window menu item (under Tools) or by executing the TRACEWIN script command.

 

Text displayed in the trace window is displayed in color. The colors are keyed to the meaning of each line of text.

 

Black

Command echo and other information

Green

Numbered responses from the FTP site

Red

Error messages

Blue

Status messages for SSH and TLS sessions

Brown

Local and server file stats information

 

The contents of the trace window can be copied to the Clipboard by accessing the System menu (by clicking on the icon in the upper left corner of the window) and then selecting Copy to Clipboard. This is useful if you need to save the contents of the trace window for later examination.

 

 

Related command(s): TRACEWIN, TRACELOG

See also: Interactive Debugging, Troubleshooting