1 ## <a name="Dev Reorg Note:"></a> Dev Reorg Note:
3 The latest version of FileAttachments includes attachments under revision control. It's in the 01 Sep 2001 TWiki release.
5 - Current Dev topic: [[AttachmentsUnderRevisionControl]]
9 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.
11 - 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.
12 - To download: Click on the file in the FileAttachment table.
14 **FileAttachment table**
16 Is a table that looks like this:
18 <table border="0" cellpadding="0" cellspacing="4">
19 <tr bgcolor="#99CCCC">
20 <th>FileAttachment: </th>
28 <td> (attached file) </td>
29 <td> (view, update, add) </td>
30 <td> (file size) </td>
31 <td> (upload date) </td>
32 <td> (uploaded by) </td>
33 <td> (file comment) </td>
39 - **view:** View file. This is the same as clicking on the filename.
40 - **update:** Update file that is already attached.
41 - **add:** Add a new attachment.
45 - Once a file is attached it can be referenced in the topic by `%ATTACHURL%/{filename}` . Example:
46 - Attach file: `Sample.txt`
47 - Text is shown as: <http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Sample.txt> , i.e. it is a link.
48 - GIF and JPG images can be attached and shown in the text like this:
49 - Attach file: `Smile.gif`
50 - Edit topic and write text: `%ATTACHURL%/Smile.gif`
51 - Text is shown as: ![Smile.gif](http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Smile.gif) , i.e. it shows up as an image.
52 - It is not possible to delete attached files with the current TWiki implementation. Contact if you need to delete files.