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. Attachments are stored under revision control - no upload is lost.
*.php
files are renamed to *.php.txt
.
An attachement can be moved between topics. To do this click action on the attachment to be moved. On the subsequent page select the new Web and Topic, the click Move. The attachment and its version history is moved. The original location is stored in the topic meta data.
It is not possible to delete attached files with the current TWiki implementation. However, they can be moved to another topic. You may care to have a topic Trash.TrashAttachments - move attachments that are no longer wanted here.
Sample.txt
%ATTACHURL%/Sample.txt
%PUBURL%/%WEB%/OtherTopic/Sample.txt
(for same web)
%PUBURL%/Otherweb/OtherTopic/Sample.txt
(for different web)
Sample.txt
%INCLUDE{"%ATTACHURL%/Sample.txt"}%
Smile.gif
%ATTACHURL%/Smile.gif
Is a table that looks like this:
|
Clicking on an action link takes you to a new page that looks like this:
The first table is a list of all attachments, including their attributes. A h
means the attachment is hidden i.e. isn't listed when viewing a topic.
The second table is all the versions of the attachment. Click on view
to see that version, if it is the most recent version you'll be taken to a URL that always displays the latest version, which is usually what you want to email out.
If you just want to change the comment on an attachment - enter a new comment and then press Change properties. Note that the comment listed against the specific version will not change, however the comment displayed when viewing the topic does change.
Similarly to hide/unhide an attachment click in the Hide file checkbox are press Change properties.
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
Sample.txt | manage | 0.1 K | 2000-07-22 - 19:37 | UnknownUser | Just a sample | |
![]() |
Smile.gif | manage | 0.1 K | 2000-07-22 - 19:38 | UnknownUser | Smiley face |