Rev 11240 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
tit:filewrite
type:$type_exec
alias:writefile
syntax:!filewrite ``fname content''
mean
:Write ``content
'' to
file ``fname
''. ``fname
'' is a
file residing in the module
's directory, \
under the subdirectory ``writable''. <br/>\
A new-line character will be added at the end of the ``content''.\
<p>\
Special case: if the file name starts with ``getfile'', the file is written to the getfile\
subdirectory of the session. This file is then accessible via the command\
</p>\
<pre>!href cmd=getfile&special_parm=fname_without_getfile_prefix</pre>,\
or a complete url\
<pre>$wims_ref_name?session=$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre>