home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
- <META HTTP-EQUIV="Expires" CONTENT="-1">
- <TITLE>URL2FILE Generation</TITLE>
- </HEAD>
- <BODY bgcolor=#ffffff>
- <SCRIPT language="JavaScript">
- <!--
- function Form_Validator(theForm)
- {
- if (theForm.fname.value == "")
- {
- alert("Please enter a value for the \"File Name\" field.");
- theForm.fname.focus();
- return (false);
- }
-
- if (theForm.url.value == "")
- {
- alert("Please enter a value for the \"URL\" field.");
- theForm.url.focus();
- return (false);
- }
- }
- //-->
- </SCRIPT>
-
- <A HREF="/sysadmin/index.stm" TARGET=_top>
- <IMG border=0 ALIGN=left SRC="/sysimage/system/console.gif"></A>
- <CENTER><FONT SIZE=6>URL2FILE Generation</FONT>
- </CENTER>
- <BR>
- <BR>
- The <B><CODE>url2file</CODE></B> 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 <A HREF="/syshelp/sched.htm">Scheduler</A>
- documentation for examples of how to use the <CODE>url2file</CODE>
- 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.
- <BR>
- <BR>
- <FORM METHOD=POST ACTION="/session/url2file" TARGET=_top onsubmit="return Form_Validator(this)">
- <INPUT TYPE=hidden NAME="RCpage" VALUE="/sysadmin/reports/reports.stm">
-
- <TABLE border=0 cellspacing=20>
-
- <TR valign=top><TD width=20%><FONT SIZE=+1>URL</FONT>
- <BR>
- <INPUT TYPE=text NAME="url" SIZE=30>
- </TD>
- <TD>The URL to execute. The URL must begin with a slash and
- appear as it would in the HTTP request
- (i.e. <I>/samples/inline.stm</I> or <I>/cgi-bin/dumpenv?foo=bar&x=y</I>).
- </TD></TR>
-
- <TR valign=top><TD width=20%><FONT SIZE=+1>File Name</FONT>
- <BR>
- <INPUT TYPE=text NAME="fname" SIZE=30>
- </TD>
- <TD>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
- (<RCErootdir>).
- </TD></TR>
-
- </TABLE>
- <P>
- <CENTER>
- <HR>
- <INPUT TYPE=submit VALUE="Generate File">
- </FORM>
- <P>
- <HR>
- </CENTER>
- <BR>
- <A HREF="/"><IMG border=0 SRC="/sysimage/system/powerby.gif"></A>
- </BODY>
- </HTML>
-