Rev 11240 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11240 | Rev 11292 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | alias:writefile |
4 | alias:writefile |
5 | syntax:!filewrite |
5 | syntax:!filewrite ``fname content'' |
6 |
|
6 | mean:Write ``content'' to file ``fname''. ``fname'' is a file residing in the module's directory, \ |
7 | under the subdirectory |
7 | under the subdirectory ``writable''. <br/>\ |
8 | A new |
8 | A new-line character will be added at the end of the ``content''.\ |
9 | <p>\ |
9 | <p>\ |
10 | Special case: if the file name starts with |
10 | Special case: if the file name starts with ``getfile'', the file is written to the getfile\ |
11 | subdirectory of the session. This file is then accessible via the command\ |
11 | subdirectory of the session. This file is then accessible via the command\ |
12 | </p>\ |
12 | </p>\ |
13 | <pre>!href cmd=getfile&special_parm=fname_without_getfile_prefix</pre>,\ |
13 | <pre>!href cmd=getfile&special_parm=fname_without_getfile_prefix</pre>,\ |
14 | or a complete url\ |
14 | or a complete url\ |
15 | <pre>$wims_ref_name?session=$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre> |
15 | <pre>$wims_ref_name?session=$session&+cmd=getfile&+special_parm=fname_without_getfile_prefix</pre> |