netfrag.org > TWiki > FileAttachment (r1.1 vs. r1.9)
TWiki . { Home? | Welcome | Register | Changes | Index | Search | Go }

 <<O>>  Difference Topic FileAttachment (r1.9 - 04 Dec 2001 - PeterThoeny?)
Line: 1 79 to 1 79
Changed:
<
<
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face
>
>
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face
Line: 93 to 93
Changed:
<
<
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample  
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face  
>
>
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample  
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face  
Line: 100 to 100
Changed:
<
<
1.1 view 2001.08.30.09.28.56 PeterThoeny  
>
>
1.1 view 2001.08.30.09.28.56 PeterThoeny  

 <<O>>  Difference Topic FileAttachment (r1.8 - 03 Dec 2001 - MikeMannix?)
Line: 1 to 1

 <<O>>  Difference Topic FileAttachment (r1.7 - 14 Sep 2001 - MikeMannix?)
Line: 1 7 to 1 7
Changed:
<
<
Attachments are stored under revision control: uploads can never be lost, and changes can be made to files with a rollback option to any previous version always available.
>
>
Attachments are stored under revision control, so uploads can never be lost, and files changes can be made with a rollback option that lets you retrieve all previous versions.
Line: 88 to 88
Changed:
<
<

File Attachment Control Page

>
>

File Attachment Controls

Line: 164 to 164
Changed:
<
<
  • You can't lock an attachment for editing. However, you may want to change the comment to indicate you are doing that - the comment on the specific version isn't lost, you can see it when listing all the versions of an attachments.
>
>
  • Unlike topics, attachments are not locked during editing. As a workaround, you can change the comment to indicate an attachment file is being worked on - the comment on the specific version isn't lost, it's there when you list all versions of the attachment.

 <<O>>  Difference Topic FileAttachment (r1.6 - 07 Sep 2001 - MikeMannix?)
Line: 1 6 to 1 6
Changed:
<
<
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.
>
>
Each topic can have files attached to it, similar to an email attachment. Use your browser to upload or download a file. Attachments are stored under revision control: uploads can never be lost, and changes can be made to files with a rollback option to any previous version always available.
Line: 10 to 11
Added:
>
>
File Attachments can be used to create powerful groupware solutions - file sharing, document management - and for speedy Web authoring.
Line: 13 to 15
Changed:
<
<
  • document management system: distribution, revision
>
>
  • You can use Attachments to store and retrieve documents (in any format, with associated graphics, and other media files); attach documents to specific TWiki topics; collaborate on documents with full revision control; distribute documents on a need-to-know basis using; create a central reference library that's easy to access and manage by an entire user group.
Line: 17 to 19
Changed:
<
<
  • share files: applications, data files; recommended for light use
>
>
  • For file sharing, FileAttachments on a series of topics can be used to quickly create a well-documented, categorized digital download center for all types of files: documents; graphics and other media; drivers and patches; applications; anything you can safely upload!
Line: 19 to 21
Changed:
<
<

Page Content

>
>

Web Authoring

Line: 21 to 23
Changed:
<
<
  • on-site use: linking to graphics, docs
>
>
  • Through your Web browser, you can easily upload graphics (or sound files, or anything else you want to embed on a page) and place them anywhere in on a single page, or for use across a web, or site-wide.
    • NOTE: You can also add graphics - any files - directly, typically by FTP upload. This requires server access, and may be more convenient if a large number of files, or a particular directory location, is required. These files can't be managed using browser-based Attachment controls.
Line: 25 to 28
Changed:
<
<
  • 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 File Attachment table.
  • Files of any type can be uploaded. Some files that might impose a security risk are renamed, i.e. *.php files are renamed to *.php.txt.
>
>
  • 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 File Attachment table.

    • Files of any type can be uploaded. Some files that might impose a security risk are renamed, ex: *.php files are renamed to *.php.txt.
Line: 28 to 33
Changed:
<
<
  • The previous upload path is retained for convenience. In case you make some changes to the local file and want to upload it again you can copy the previous upload path into the Local file field.
>
>

    • The previous upload path is retained for convenience. In case you make some changes to the local file and want to upload it, again you can copy the previous upload path into the Local file field.
Line: 33 to 39
Changed:
<
<
  • There is no access control on individual attachments. If you need to have this type of control create separate topics and define access restrictions on the topics.
>
>

  • NOTE: There is no access control on individual attachments. If you need this type of control, create separate topics and define access restrictions per topic.
Line: 37 to 45
Changed:
<
<
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.
>
>
An attachement can be moved between topics. To do this click Action on the attachment to be moved. On the control page, select the new web and topic, the click Move. The attachment and its version history are moved. The original location is stored as topic Meta Data.
Line: 46 to 54
Changed:
<
<
    • Attach file: Sample.txt
    • Edit topic and write text: %ATTACHURL%/Sample.txt
    • Text is shown as: https://netfrag.org/twiki/pub/TWiki/FileAttachment/Sample.txt, ex: it is a link.
    • To reference an attachment located in another topic write text:
      • %PUBURL%/%WEB%/OtherTopic/Sample.txt (for same web)
      • %PUBURL%/Otherweb/OtherTopic/Sample.txt (for different web)
>
>
    1. Attach file: Sample.txt
    2. Edit topic and write text: %ATTACHURL%/Sample.txt
    3. Preview - %ATTACHURL text appears as: https://netfrag.org/twiki/pub/TWiki/FileAttachment/Sample.txt, a link.

  • To reference an attachment located in another topic, write text:
      • %PUBURL%/%WEB%/OtherTopic/Sample.txt (for the same web)
      • %PUBURL%/Otherweb/OtherTopic/Sample.txt (for adifferent web)
Line: 54 to 63
Changed:
<
<
    • Attach file: Sample.txt
    • Edit topic and write text: %INCLUDE{"%ATTACHURL%/Sample.txt"}%
>
>
    1. Attach file: Sample.txt
    2. Edit topic and write text: %INCLUDE{"%ATTACHURL%/Sample.txt"}%
Line: 60 to 69
Changed:
<
<
    • Attach file: Smile.gif
    • Edit topic and write text: %ATTACHURL%/Smile.gif
    • Text is shown as: Smile.gif , it shows up as an image.
>
>
    1. Attach file: Smile.gif
    2. Edit topic and write text: %ATTACHURL%/Smile.gif
    3. Preview - text appears as Smile.gif, an image.
Line: 67 to 76
Changed:
<
<
Is a table that looks like this:
>
>
Files attached to a topic are displayed in a directory table, displayed at the bottom of the page, or optionally, hidden and accessed when you click Attach.
Line: 69 to 78
Changed:
<
<
Attachment: Action: Size: Date: Who: Comment:
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face
>
>
Attachment: Action: Size: Date: Who: Comment:
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face
Line: 74 to 86
Added:
>
>
Line: 78 to 90
Changed:
<
<
Clicking on an action link takes you to a new page that looks like this:
>
>
Clicking on an Action link takes you to a new page that looks like this:
Line: 79 to 92
Added:
>
>
Line: 83 to 96
Changed:
<
<
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample  
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face  
>
>
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample  
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face  
Line: 90 to 103
Changed:
<
<
1.1 view 2001.08.30.09.28.56 PeterThoeny  
>
>
1.1 view 2001.08.30.09.28.56 PeterThoeny  
Line: 135 to 148
Changed:
<
<
Move attachment |
>
>
Move attachment |
Line: 138 to 152
Added:
>
>
Line: 140 to 154
Changed:
<
<
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 first table is a list of all attachments, including their attributes. An h means the attachment is hidden, it isn't listed when viewing a topic.
Line: 142 to 156
Changed:
<
<
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.
>
>
  • The second table is all the versions of the attachment. Click on View to see that version. If it's the most recent version, you'll be taken to an URL that always displays the latest version, which is usually what you want.
Line: 144 to 158
Changed:
<
<
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.
>
>
    • To change the comment on an attachment, enter a new comment and then click Change properties. Note that the comment listed against the specific version will not change, however the comment displayed when viewing the topic does change.
Line: 146 to 160
Changed:
<
<
Similarly to hide/unhide an attachment click in the Hide file checkbox are press Change properties.
>
>
    • To hide/unhide an attachment, enable the Hide file checkbox, then click Change properties.

 <<O>>  Difference Topic FileAttachment (r1.5 - 07 Sep 2001 - PeterThoeny?)
Line: 1 to 1
Changed:
<
<

Dev Reorg Note:

>
>

File Attachments

Line: 4 to 6
Changed:
<
<
The latest version of FileAttachments includes attachments under revision control. It's in the 01 Sep 2001 TWiki release.
>
>
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.
Line: 6 to 9
Changed:
<
<
  • Current Dev topic: AttachmentsUnderRevisionControl?
>
>

What Are Attachments Good For?

Line: 8 to 11
Changed:
<
<

>
>

Document Management System

Line: 10 to 13
Changed:
<
<
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.
>
>
  • document management system: distribution, revision

File Sharing

  • share files: applications, data files; recommended for light use

Page Content

  • on-site use: linking to graphics, docs

Uploading Files

  • 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 File Attachment table.
  • Files of any type can be uploaded. Some files that might impose a security risk are renamed, i.e. *.php files are renamed to *.php.txt.
  • Currently there is no file size limit besides the disk space on the server.
  • The previous upload path is retained for convenience. In case you make some changes to the local file and want to upload it again you can copy the previous upload path into the Local file field.

Downloading Files

  • To download: Click on the file in the File Attachment table.
  • There is no access control on individual attachments. If you need to have this type of control create separate topics and define access restrictions on the topics.

Moving Attachment Files

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.

Deleting Attachments

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.

Line: 14 to 43
Changed:
<
<
FileAttachment table
>
>

Linking to Attached Files

  • Once a file is attached it can be referenced in the topic. Example:
    • Attach file: Sample.txt
    • Edit topic and write text: %ATTACHURL%/Sample.txt
    • Text is shown as: https://netfrag.org/twiki/pub/TWiki/FileAttachment/Sample.txt, ex: it is a link.
    • To reference an attachment located in another topic write text:
      • %PUBURL%/%WEB%/OtherTopic/Sample.txt (for same web)
      • %PUBURL%/Otherweb/OtherTopic/Sample.txt (for different web)

  • Attached HTML files and text files can be inlined in a topic. Example:
    • Attach file: Sample.txt
    • Edit topic and write text: %INCLUDE{"%ATTACHURL%/Sample.txt"}%
    • Content of attached file is shown inlined.
    • Read more in IncludeTopicsAndWebPages.

  • GIF, JPG and PNG images can be attached and shown embedded in a topic. Example:
    • Attach file: Smile.gif
    • Edit topic and write text: %ATTACHURL%/Smile.gif
    • Text is shown as: Smile.gif , it shows up as an image.

File Attachment Contents Table

Line: 18 to 69
Changed:
<
<
FileAttachment: Action: Size: Date: Who: Comment:
>
>
Attachment: Action: Size: Date: Who: Comment:
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face

File Attachment Control Page

Clicking on an action link takes you to a new page that looks like this:

Attachment: Action: Size: Date: Who: Comment: Attribute:
Sample.txt action 30 22 Jul 2000 - 19:37 PeterThoeny Just a sample  
Smile.gif action 94 22 Jul 2000 - 19:38 PeterThoeny Smiley face  

Update attachment Sample.txt

Version: Action: Date: Who: Comment:
1.1 view 2001.08.30.09.28.56 PeterThoeny  

Previous
upload:
C:\DATA\Sample.txt (PeterThoeny)
Local file:
Comment:
Line: 29 to 117
Changed:
<
<
(attached file)
>
>
Link:
Line: 31 to 120
Changed:
<
<
(view, update, add)
(file size) (upload date) (uploaded by) (file comment)
>
>
Create a link to the attached file at the end of the topic.
Hide file: Hide attachment in normal topic view.
Line: 38 to 131
Added:
>
>
Help text ...
Line: 40 to 133
Changed:
<
<
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.
>
>
Topic FileAttachment . { | | Move attachment | Cancel }
Line: 45 to 140
Changed:
<
<
Remarks
  • Once a file is attached it can be referenced in the topic by %ATTACHURL%/{filename} . Example:
  • 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 , i.e. it shows up as an image.
  • It is not possible to delete attached files with the current TWiki implementation. Contact webmaster@netfrag.org if you need to delete files.
>
>
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.

Known Issues

  • You can't lock an attachment for editing. However, you may want to change the comment to indicate you are doing that - the comment on the specific version isn't lost, you can see it when listing all the versions of an attachments.

 <<O>>  Difference Topic FileAttachment (r1.4 - 30 Aug 2001 - MikeMannix?)
Line: 1 to 1
Changed:
<
<
FileAttachment
>
>

Dev Reorg Note:

The latest version of FileAttachments includes attachments under revision control. It's in the 01 Sep 2001 TWiki release.

  • Current Dev topic: AttachmentsUnderRevisionControl?


Line: 47 to 54
Changed:
<
<
<!--TWikiAttachment-->

FileAttachment: Action: Size: Date: Who: Comment:
 Sample.txt view update 30 22 Jul 2000 - 19:37 PeterThoeny? Just a sample
 Smile.gif view update 94 22 Jul 2000 - 19:38 PeterThoeny? Smiley face
add
<!--TWikiAttachment-->
>
>
META FILEATTACHMENT Sample.txt attr="" comment="Just a sample" date="964294620" path="C:\DATA\Sample.txt" size="30" user="thoeny" version=""
META FILEATTACHMENT Smile.gif attr="" comment="Smiley face" date="964294680" path="C:\DATA\Smile.gif" size="94" user="thoeny" version=""

 <<O>>  Difference Topic FileAttachment (r1.3 - 29 Dec 2000 - PeterThoeny?)
Line: 27 to 27
Changed:
<
<
(uploded by)
>
>
(uploaded by)

 <<O>>  Difference Topic FileAttachment (r1.2 - 19 Aug 2000 - PeterThoeny?)
Line: 5 to 5
Changed:
<
<
  • To download: Click on the file in FileAttachment table.
>
>
  • To download: Click on the file in the FileAttachment table.
Line: 41 to 41
Changed:
<
<
>
>
Line: 46 to 45
Changed:
<
<
    • Text is shown as: Smile.gif , i.e. it shows up as an image.
>
>
    • Text is shown as: Smile.gif , i.e. it shows up as an image.
Line: 52 to 51
Changed:
<
<
FileAttachment?:
>
>
FileAttachment:
Line: 67 to 66
Changed:
<
<
 Sample.txt
>
>
 Sample.txt
Line: 70 to 69
Changed:
<
<
view update
>
>
view update
Line: 74 to 73
Changed:
<
<
26 Mar 1999 - 04:05
>
>
22 Jul 2000 - 19:37
Line: 83 to 82
Changed:
<
<
 Smile.gif
>
>
 Smile.gif
Line: 86 to 85
Changed:
<
<
view update
>
>
view update
Line: 90 to 89
Changed:
<
<
26 Mar 1999 - 04:05
>
>
22 Jul 2000 - 19:38
Line: 100 to 99
Changed:
<
<
add
>
>
add
Line: 107 to 106
Changed:
<
<
<!--TWikiAttachment-->
>
>
<!--TWikiAttachment-->

 <<O>>  Difference Topic FileAttachment (r1.1 - 13 Jun 1999 - Main.thoeny)
Line: 1 to 1
Added:
>
>
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 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:
  • 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 , i.e. it shows up as an image.
  • It is not possible to delete attached files with the current TWiki implementation. Contact webmaster@netfrag.org if you need to delete files.
<!--TWikiAttachment-->

FileAttachment?: Action: Size: Date: Who: Comment:
 Sample.txt view update 30 26 Mar 1999 - 04:05 PeterThoeny? Just a sample
 Smile.gif view update 94 26 Mar 1999 - 04:05 PeterThoeny? Smiley face
add
<!--TWikiAttachment-->

Topic FileAttachment . { View | Diffs | r1.9 | > | r1.8 | > | r1.7 | More }    output as: { }
Revision r1.1 - 13 Jun 1999 - 07:51 - Main.thoeny
Revision r1.9 - 04 Dec 2001 - 10:19 - PeterThoeny?