3 Each topic can have files attached to it. This is similar to an e-mail attachment. Just use your browser to upload or download a file.
5 - To upload: Click on the Attach link at the bottom of each page. A form is shown where you can browse for a file and upload it. The uploaded file will show up in the FileAttachment table.
6 - To download: Click on the file in the FileAttachment table.
8 **FileAttachment table**
10 Is a table that looks like this:
12 <table border="0" cellpadding="0" cellspacing="4">
13 <tr bgcolor="#99CCCC">
14 <th>FileAttachment: </th>
22 <td> (attached file) </td>
23 <td> (view, update, add) </td>
24 <td> (file size) </td>
25 <td> (upload date) </td>
26 <td> (uploaded by) </td>
27 <td> (file comment) </td>
33 - **view:** View file. This is the same as clicking on the filename.
34 - **update:** Update file that is already attached.
35 - **add:** Add a new attachment.
39 - Once a file is attached it can be referenced in the topic by `%ATTACHURL%/{filename}` . Example:
40 - Attach file: `Sample.txt`
41 - Text is shown as: <http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Sample.txt> , i.e. it is a link.
42 - GIF and JPG images can be attached and shown in the text like this:
43 - Attach file: `Smile.gif`
44 - Edit topic and write text: `%ATTACHURL%/Smile.gif`
45 - Text is shown as: ![Smile.gif](http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Smile.gif) , i.e. it shows up as an image.
46 - It is not possible to delete attached files with the current TWiki implementation. Contact if you need to delete files.
48 <table border="0" cellpadding="0" cellspacing="4">
49 <tr bgcolor="#99CCCC">
50 <th>[[TWiki/FileAttachment]]: </th>
58 <td><twknextitem> </twknextitem></td>
61 <td valign="top"><twkfileicon><img align="top" hight="16" src="http://www.dementia.org/twiki//view/icn/txt.gif" width="16" /></twkfileicon> <a href="http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Sample.txt"><twkfilename>Sample.txt</twkfilename></a> <twkfilepath> <twkdata value="C:\DATA\Sample.txt"> </twkdata></twkfilepath></td>
62 <td valign="top"><twkaction><a href="http://www.dementia.org/twiki//viewfile/%WEB%/%TOPIC%?filename=Sample.txt">view</a> <a href="http://www.dementia.org/twiki//attach/%WEB%/%TOPIC%?filename=Sample.txt">update</a></twkaction></td>
63 <td align="right" valign="top"><twkfilesize>30</twkfilesize></td>
64 <td valign="top"><twkfiledate>22 Jul 2000 - 19:37</twkfiledate></td>
65 <td valign="top"><twkfileuser> [[Main/PeterThoeny]]</twkfileuser></td>
66 <td valign="top"><twkfilecomment>Just a sample</twkfilecomment></td>
69 <td><twknextitem> </twknextitem></td>
72 <td valign="top"><twkfileicon><img align="top" hight="16" src="http://www.dementia.org/twiki//view/icn/bmp.gif" width="16" /></twkfileicon> <a href="http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Smile.gif"><twkfilename>Smile.gif</twkfilename></a> <twkfilepath> <twkdata value="C:\DATA\Smile.gif"> </twkdata></twkfilepath></td>
73 <td valign="top"><twkaction><a href="http://www.dementia.org/twiki//viewfile/%WEB%/%TOPIC%?filename=Smile.gif">view</a> <a href="http://www.dementia.org/twiki//attach/%WEB%/%TOPIC%?filename=Smile.gif">update</a></twkaction></td>
74 <td align="right" valign="top"><twkfilesize>94</twkfilesize></td>
75 <td valign="top"><twkfiledate>22 Jul 2000 - 19:38</twkfiledate></td>
76 <td valign="top"><twkfileuser> [[Main/PeterThoeny]]</twkfileuser></td>
77 <td valign="top"><twkfilecomment>Smiley face</twkfilecomment></td>
80 <td><twknextitem> </twknextitem></td>
85 <td valign="top"><twkaction><a href="http://www.dementia.org/twiki//attach/%WEB%/%TOPIC%">add</a><twkaction> </twkaction></twkaction></td>
86 <td align="right" valign="top">