Debugging Scripts (WS_FTP Professional)

To debug a script:

  1. Open the script file.
  2. Make sure you have TRACE and LOG commands at the beginning of the script.
  3. Step through the script using the Step button and use the information in the "Trace" and "Log" windows to determine which commands are executing as desired and which are not.
  4. Use online Help to look up any commands that are not executing as desired and correct the command syntax.