WB_Destination - set the file name for saving the output

WB_Destination=file name of the destination file

Syntax example

Valid inputs
Any valid file name respecting WhizBase path rules

Default value

This variable contains the file name of the file to be used as destination file for saving the output of the WBSP file instead of sending the result to the HTTP client. This variable can be used with all WB_Command values and in all cases it requires that WB_Redirect variable is also defined. If this variable contains proper file name, WhizBase will process WBSP file and save (or append depending upon value of WB_AppendMode variable) the resulting code (everything below <!--WB_BeginTemplate-->) to file defined in WB_Destination. After this HTTP client will be redirected to the URL defined in WB_Redirect variable.