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 → Error

Error

 

Simulates a program error. This is useful to test your script's error handling. To do this, simply write the Error command after the command for which you want to simulate erroneous execution. (To simulate a lost connection you can use Disconnect instead).

 

See also: OnError, Transaction, Disconnect

 

Example:
 

OnError Skipto HandleError
Connect ...
PutMove "sales.dat"
Error
...

 
← Back to Script Commands

 

Downloads
Orders
Contact
Support
Terms of Use
Privacy Policy
pixel