Home Page
        Orders     Downloads     Support     Contact     Deutsch
ZOC Terminal is a professional SSH Client and Terminal Emulator for Windows and macOS.
PyroBatchFTP Online Help Topic:

Script Commands → Milestone

Milestone

 

The Milesteone command is used to create a compact file that lists error codes at certain crucial points in the execution of your script. Such compact logfiles can later be read by an application to see which steps of the script may have returned bad results.

Please be aware that Milestones are useful only if you are using OnError End or OnError SkipTo.

       
Milestone <name> [, keep]
 

Write a new entry to the milestone logfile. The entry will contain the highest error level that occurred since the begin of the program or since the last milestone (unless the keep parameter was provided there).
If the keep parameter is added, the error level is not reset after writing the milestone entry.
Milestone entries are always written, even if an OnError SkipTo command would skip them because of an error.  
Example:  Milestone "aftertransfer", KEEP

Milestone FILENAME <filename>
 

Set the filename for the milestone file (an existing file with this name will be deleted).  
Example:  Milestone FILENAME "milestones.log"

 

 
← Back to Script Commands

 

Downloads
Orders
Contact
Support
Terms of Use
Privacy Policy
pixel