**FileAttachment**
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.
- 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.
- To download: Click on the file in the FileAttachment table.
**FileAttachment table**
Is a table that looks like this:
FileAttachment: |
Action: |
Size: |
Date: |
Who: |
Comment: |
(attached file) |
(view, update, add) |
(file size) |
(upload date) |
(uploded by) |
(file comment) |
**Action** is:
- **view:** View file. This is the same as clicking on the filename.
- **update:** Update file that is already attached.
- **add:** Add a new attachment.
**Remarks**
- Once a file is attached it can be referenced in the topic by `%ATTACHURL%/{filename}` . Example:
- Attach file: `Sample.txt`
- Text is shown as: , i.e. it is a link.
- GIF and JPG images can be attached and shown in the text like this:
- Attach file: `Smile.gif`
- Edit topic and write text: `%ATTACHURL%/Smile.gif`
- Text is shown as: ![Smile.gif](http://www.dementia.org/twiki//view/%WEB%/%TOPIC%/Smile.gif) , i.e. it shows up as an image.
- It is not possible to delete attached files with the current TWiki implementation. Contact if you need to delete files.
[[TWiki/FileAttachment]]: |
Action: |
Size: |
Date: |
Who: |
Comment: |
|
Sample.txt |
view update |
30 |
22 Jul 2000 - 19:37 |
[[Main/PeterThoeny]] |
Just a sample |
|
Smile.gif |
view update |
94 |
22 Jul 2000 - 19:38 |
[[Main/PeterThoeny]] |
Smiley face |
|
|
add |
|
|
|
|