Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
32 reyssat 1
!! +exec+ +file+
2
$lst_tit filewrite$lst_titend$type_exec
4562 bpr 3
  $lst_alias writefile
5921 bpr 4
  $(lst_syntax)filewrite $emph fname content$emphend</span>
32 reyssat 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
5766 bpr 7
  subdirectory $emph writable$emphend. <br/>
32 reyssat 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
5920 bpr 13
  </p>
1091 bpr 14
  <pre>!href cmd=getfile&amp;special_parm=fname_without_getfile_prefix</pre>,
32 reyssat 15
  or a complete url
1091 bpr 16
<pre>$$wims_ref_name?session=$$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre>