Rev 4562 | 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 | !! +var+ +string+ |
4562 | bpr | 2 | $lst_tit rename$lst_titend$type_both |
3 | $(lst_syntax)rename $emph f$emphend</tt> |
||
32 | reyssat | 4 | $lst_mean Changes the reference to a file $emph f$emphend, such as a |
5 | graphics file reachable by direct http, into one with a different name using |
||
6 | the method <tt>!getfile</tt>. |
||
7 | <p> |
||
8 | This command is useful with exercises where important information is carried |
||
9 | by multimedia files (pictures, audios, movies). It can be used to hide the |
||
10 | name of the multimedia file that otherwise would give clues to the solution |
||
11 | of the problem. |
||
12 | <p>The renamed file must be located within the module, and the |
||
4051 | bpr | 13 | filename $emph f$emphend should start with $emph$$module_dir$emphend</tt>. |
32 | reyssat | 14 | <p> |
15 | The command returns a string which is the new URL. The file is not |
||
16 | effectively copied or renamed on the server. |
||
5920 | bpr | 17 | </p> |