Rev 11292 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
32 | reyssat | 1 | !! +exec+ +file+ |
11210 | bpr | 2 | tit:filewrite |
3 | type:$type_exec |
||
11220 | bpr | 4 | alias:writefile |
11292 | bpr | 5 | syntax:!filewrite ``fname content'' |
6 | mean:Write ``content'' to file ``fname''. ``fname'' is a file residing in the module's directory, \ |
||
17228 | bpr | 7 | under the subdirectory ``writable''. <br>\ |
11292 | bpr | 8 | A new-line character will be added at the end of the ``content''.\ |
11210 | bpr | 9 | <p>\ |
11292 | bpr | 10 | Special case: if the file name starts with ``getfile'', the file is written to the getfile\ |
11210 | bpr | 11 | subdirectory of the session. This file is then accessible via the command\ |
12 | </p>\ |
||
13 | <pre>!href cmd=getfile&special_parm=fname_without_getfile_prefix</pre>,\ |
||
14 | or a complete url\ |
||
11240 | bpr | 15 | <pre>$wims_ref_name?session=$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre> |