Subversion Repositories wimsdev

Rev

Rev 5766 | Rev 5921 | 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 fileappend$lst_titend$type_exec
4562 bpr 3
  $lst_alias appendfile
4
  $(lst_syntax)fileappend $emph fname content$emphend</tt>
32 reyssat 5
  $lst_mean Append $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 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>
4562 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>
32 reyssat 17