URL2FILE Generation


The url2file RPC process the URL request and writes the output to the file specified. This mechanism can be useful in running reports periodically from a CGI or RDBMS script and generating a static HTML file. See the Scheduler documentation for examples of how to use the url2file RPC to periodically regerate dynamic content; once generated, the HTML page can even be uploaded to another (production) HTTP server or mailed out as an attachment.

URL
The URL to execute. The URL must begin with a slash and appear as it would in the HTTP request (i.e. /samples/inline.stm or /cgi-bin/dumpenv?foo=bar&x=y).
File Name
The file to write the URL output to. If not preceeded by a drive letter (i.e. d:\windir), this directory is assumed to be relative to the installation directory of the Sambar Server ().