Subversion Repositories wimsdev

Rev

Rev 5920 | Rev 11210 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +exec+ +file+
  2. $lst_tit filewrite$lst_titend$type_exec
  3.   $lst_alias writefile
  4.   $(lst_syntax)filewrite $emph fname content$emphend</span>
  5.   $lst_mean Write $emph content$emphend to file $emph fname$emphend.
  6.   $emph fname$emphend is a file residing in the module's directory, under the
  7.  subdirectory $emph writable$emphend. <br/>
  8.  A new-line character will be added at the end of the $emph content$emphend.
  9.  <p>
  10.  Special case: if the file name starts with $emph getfile/$emphend, the file
  11.  is written to the getfile subdirectory of the session. This file is then
  12.  accessible via the command
  13.  </p>
  14.  <pre>!href cmd=getfile&amp;special_parm=fname_without_getfile_prefix</pre>,
  15.  or a complete url
  16. <pre>$$wims_ref_name?session=$$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre>
  17.