| Redirection Notice This page should redirect to http://www.adaptavist.com/display/Plugins/Attachment+Download. |
Description/Features
Adds a servlet so you can download attachments from a page without needing to know the ID. The page ID can change when content is ported using the export/backup and import functionality. The main use for this is where you need to link to content from external (e.g. using a resource from Confluence as the JIRA logo, or in a Builder theme config etc).
Admins can configure spaces that can serve attachments without needing a login. This allows you to do things like putting images or theme content on the login page of an otherwise private wiki.
As an added bonus, the HttpServletRequest and HttpServletResponse are added to the ServletActionContext so that the AttachmentViewEvent fired carries things like the IP address, browser user agent, URL, Session ID etc through. This is useful for the Statistical Analysis Plugin which opens up a wider range of reporting opportunities.
Example Usage
- Install via the plugin repository, or manually.
- Point to http://www.domain.dom/plugins/servlet/attachment-download/SPACEKEY/Page+Title/filename.ext
The SPACEKEY, Page Title and filename.ext all need changing as appropriate.

