Subversion Repositories wimsdev

Rev

Rev 4562 | 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<br>
  4.   $(lst_syntax)filewrite $emph fname content$emphend</tt> <br>
  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.  <pre>!href cmd=getfile&special_parm=fname_without_getfile_prefix</pre>,
  14.  or a complete url
  15. <pre>$$wims_ref_name?session=$$session&cmd=getfile&special_parm=fname_without_getfile_prefix</pre>
  16.  
  17.