Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r6  >  r5  ...
FileAttachment 6 - 07 Sep 2001 - Main.PeterThoeny
Line: 1 to 1
 

File Attachments

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.
 

What Are Attachments Good For?

Added:
>
>
File Attachments can be used to create powerful groupware solutions - file sharing, document management - and for speedy Web authoring.
 

Document Management System

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.
 

File Sharing

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!
 
Changed:
<
<

Page Content

>
>

Web Authoring

 
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.
 

Uploading Files

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.
 
  • Currently there is no file size limit besides the disk space on the server.
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.
 

Downloading Files

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.
 

Moving Attachment Files

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.
 

Deleting Attachments

Line: 43 to 51
 

Linking to Attached Files

  • Once a file is attached it can be referenced in the topic. Example:
Changed:
<
<
    • Attach file: Sample.txt
    • Edit topic and write text: %ATTACHURL%/Sample.txt
    • Text is shown as: http://92337.wcapt.asia/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: http://92337.wcapt.asia/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)
 
  • Attached HTML files and text files can be inlined in a topic. Example:
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"}%
 

  • GIF, JPG and PNG images can be attached and shown embedded in a topic. Example:
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.
 

File Attachment Contents Table

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.
 
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
 
Added:
>
>
 

File Attachment Control Page

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:
 
Added:
>
>
 
Attachment: Action: Size: Date: Who: Comment: Attribute:
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  
 

Update attachment Sample.txt

Version: Action: Date: Who: Comment:
Changed:
<
<
1.1 view 2001.08.30.09.28.56 PeterThoeny  
>
>
1.1 view 2001.08.30.09.28.56 PeterThoeny  
 

Line: 132 to 145
  Topic FileAttachment . { | |
Changed:
<
<
Move attachment |
>
>
Move attachment |
 Cancel }
Added:
>
>
 
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.
 
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.
 
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.
 
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.
 

Known Issues


Revision 6r6 - 07 Sep 2001 - 07:44:32 - PeterThoeny?
Revision 5r5 - 07 Sep 2001 - 02:05:45 - PeterThoeny?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM