create new tag
, view all tags
ALERT! NOTE: This is a DistributionDocument. Please help maintain high quality documentation: This is a wiki, please fix the documentation if you find errors or incomplete content. Put questions and suggestions concerning the documentation of this topic in the comments section below. Use the Support web for problems you are having using TWiki.


How do I delete or rename a file attachment?


You can move and delete attachments directly from your browser. Moving lets you transfer an attachment from one topic to another. The soft delete moves an attachment to the special TrashAttachment topic in the Trash web, where it's hidden but can be "undeleted" with system administrator access. Please note that you cannot rename an attachment in the current TWiki release.

Click on [action] on the file in the FileAttachment table, then in the Update attachment screen choose [Move attachment], and make your changes to that screen.

NOTE: The configuration of your site and your own access permissions determine whether you can access these functions.

Note for system administrators: To remove an attachment permanently move it to the Trash.TrashAttachment topic, then with file-level access, delete the file attachment and its ,v repository file manually from twiki/pub/Trash/TrashAttachment.

Back to: TWikiFAQ

Related Topics: UserDocumentationCategory

Comments & Questions about this Distribution Document Topic

For step #2 above I was unable to find a way to edit (remove) the META information on the TrashAttachment page.

The best I could find was raw=debug but that only lets you view the META info, not change it. There was a reference to an undocumented cmd parameter, but I couldn't find anything else about it and I figured if it's undocumented it's probably not good to rely on it.

If there was a way to edit/change the META information using TWiki itself (i.e., in the browser), then steps 2 and 3 above could be combined.

-- AnthonyRThompson - 02 Sep 2006

There is no documented way to remove META info from topics using the browser. You'd need to edit the file on the shell level to remove the META:FILEATTACHMENT lines. Since this is in the Trash web I would not bother doing that.

-- PeterThoeny - 03 Sep 2006

In 4.2, "More topic actions" / "Delete topic... scans links in [TWiki] web only" results in a Trash web VIEW authorization error oops, whereas "More topic actions" / "# Delete topic... scans links in all public webs (recommended)" does not raise the VIEW oops.

Why the inconsistent authorization oops with the former, and not the latter (aside from the default view being restricted to TWikiAdminGroup)?

-- StephenMossbarger - 10 Jul 2008

This could be a bug. Please file a bug report.

-- PeterThoeny - 13 Jul 2008

Please use the Support forum if you have questions about TWiki features. This comment section is about the documentation of this topic.
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2010-05-27 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.