Skip to topic | Skip to bottom
Home
ephedrine diet pill [[]] index ephedrine [[]]
TWiki
TWiki.FileAttachmentr1.13 - 08 May 2004 - 21:52 - PeterThoenytopic end

Start of topic | Skip to actions

File Attachments

Each topic can have one or more files of any type attached to it by using the Attach screen to upload (or download) files from your local PC. Attachments are stored under revision control: uploads are automatically backed up; all previous versions of a modified file can be retrieved.

What Are Attachments Good For?

File Attachments can be used to create powerful customized groupware solutions, like file sharing and document management systems, and quick Web page authoring.

Document Management System

  • 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 web and topic-level access control; create a central reference library that's easy to share with an user group spread around the world.

File Sharing

  • 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!

Web Authoring

  • Through your Web browser, you can easily upload graphics (or sound files, or anything else you want to link to on a page) and place them on a single page, or use them across a web, or site-wide.
    • NOTE: You can also add graphics - any files - directly, typically by FTP upload. This requires FTP access, and may be more convenient if you have a large number of files to load. FTP-ed files can't be managed using browser-based Attachment controls. You can use your browser to create TWikiVariables shortcuts, like this %H% = HELP.

Uploading Files

  • Click on the Attach link at the bottom of the page. The Attach screen lets you browse for a file, add a comment, and upload it. The uploaded file will show up in the File Attachment table.
    • NOTE: The topic must already exist. It is a two step process if you want to attach a file to a non-existing topic; first create the topic, then add the file attachment.
    • Any type of file can be uploaded. Some files that might pose a security risk are renamed, ex: *.php files are renamed to *.php.txt so that no one can place code that would be read in a .php file.
    • 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.
    • TWiki can limit the file size. This is defined by the %ATTACHFILESIZELIMIT% variable of the TWikiPreferences, currently set at 10000 KB.
      • ALERT! It's not recommended to upload files greater than a few hundred K through a browser. Large files can be extremely slow-loading, and often time out. Use an FTP site for large file uploads.

Downloading Files

  • ALERT! NOTE: There is no access control on individual attachments. If you need control over single files, create a separate topic per file and set topic-level access restrictions for each.

Moving Attachment Files

An attachment can be moved between topics.

  • Click Manage on the Attachment to be moved.
  • On the control screen, select the new web and/or topic.
  • Click Move. The attachment and its version history are moved. The original location is stored as topic Meta Data.

Deleting Attachments

Move unwanted Attachments to web Trash, topic TrashAttachment.

Linking to Attached Files

  • To reference an attachment located in another topic, enter:
    • %PUBURL%/%WEB%/OtherTopic/Sample.txt (if it's within the same web)
    • %PUBURL%/Otherweb/OtherTopic/Sample.txt (if it's in a different web)

  • Attached HTML files and text files can be inlined in a topic. Example:
    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:
    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

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.

Attachment Action Size Date Who Comment
Sample.txt manage 0.1 K 22 Jul 2000 - 19:37 PeterThoeny Just a sample
Smile.gif manage 0.1 K 22 Jul 2000 - 19:38 PeterThoeny Smiley face

File Attachment Controls

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

Attachment Action Size Date Who Comment Attribute
Sample.txt manage 0.1 K 22 Jul 2000 - 19:37 PeterThoeny Just a sample  
Smile.gif manage 0.1 K 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:
Link: Create a link to the attached file at the end of the topic.
Hide file: Hide attachment in normal topic view.
Help text ...

Topic FileAttachment . { | | Move attachment | Cancel }

  • 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.

  • 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.
    • 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.
    • To hide/unhide an attachment, enable the Hide file checkbox, then click Change properties.

Known Issues

  • 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.


to top

I Attachment sort Action Size Date Who Comment
Sample.txt manage 0.1 K 22 Jul 2000 - 19:37 Main.thoeny Just a sample
Smile.gif manage 0.1 K 22 Jul 2000 - 19:38 Main.thoeny Smiley face

You are here: TWiki > FileAttachment

to top

Copyright © 1999-2008 by the contributing authors. play online slots online slots slot machine free slot online slot play slot slot game free slot game free online slot free slot machine slot car antique slot machine play free slot progressive slot play free slot machine free slot no download video slot free slot machine game slim slot slot machine game online slot machine bonus slot free online slot game sim slot play slot machine play free slot game slot machine secret video slot machine free video slot machine play online slots online slots slot machine free slot online slot play slot slot game free slot game free online slot free slot machine slot car antique slot machine play free slot progressive slot play free slot machine free slot no download video slot free slot machine game slim slot slot machine game online slot machine bonus slot free online slot game sim slot play slot machine play free slot game slot machine secret video slot machine free video slot machine play online poker free online poker online poker strip poker poker chips party poker play poker video poker poker game free poker poker room internet poker online poker game free online poker texas holdem poker online poker rooms sex chat online sex chat free sex chat sex chat rooms live sex chat free sex chat rooms live sex cam chat free live sex chat sex video chat online dating services dating services dating site online dating internet dating free dating adult dating online dating service free online dating free dating site dating web site gay dating adult dating services online asian dating sex dating lesbian dating dating personals free dating services swingers adult swingers swinger club swingers sex swinger party mature swingers swinger story buy vibrator onlinr rabbit vibrator dildo vibrator anal vibrator vibrator orgasm clitoral vibrator sex toys sex vibrator sex toy vibrator lesbian vibrator escort services escort services male escort gay escort las vegas escort female escort toronto escort sexy lingerie sexy plus size lingerie sexy lingerie model womens sexy lingerie hot sexy lingerie sexy lingerie pic sex toy adult sex toy homemade sex toy sex toy party sex toy for man woman sex toy gay sex toy anal sex toy play online poker online poker strip poker poker chips party poker play poker video poker poker game free poker poker room internet poker online poker game free online poker texas holdem poker online poker rooms swingers adult swingers swinger club swingers sex swinger party mature swingers swinger story play online slots online slots slot machine free slot online slot play slot slot game free slot game free online slot free slot machine slot car antique slot machine play free slot progressive slot play free slot machine free slot no download video slot free slot machine game slim slot slot machine game online slot machine bonus slot free online slot game sim slot play slot machine play free slot game slot machine secret video slot machine free video slot machine vibrator rabbit vibrator dildo vibrator anal vibrator vibrator orgasm clitoral vibrator sex toys sex vibrator sex toy vibrator lesbian vibrator adult swingers swinger club swingers sex swinger party mature swingers swinger story amateur swingers swinger pic vibrator rabbit vibrator dildo vibrator anal vibrator vibrator orgasm clitoral vibrator sex toys sex vibrator sex toy vibrator lesbian vibrator play online slots slot machine free slot online slot play slot slot game free slot game free online slot free slot machine slot car antique slot machine play free slot progressive slot play free slot machine free slot no download video slot free slot machine game slim slot slot machine game online slot machine bonus slot free online slot game sim slot play slot machine play free slot game slot machine secret video slot machine free video slot machine play online poker online poker strip poker poker chips party poker play poker play video poker poker game play free poker poker room internet poker online poker game free online poker texas holdem poker online poker rooms texas hold em poker play online poker play holdem poker online free poker game party poker bonus free strip poker online video poker play online slots online slots slot machine free slot online slot play slot slot game free slot game free online slot free slot machine slot car antique slot machine play free slot progressive slot play free slot machine free slot no download video slot free slot machine game slim slot slot machine game online slot machine bonus slot free online slot game sim slot play slot machine play free slot game slot machine secret video slot machine free video slot machine