Documentation for Confluence 5.4.
Documentation for Confluence OnDemand and earlier versions of Confluence is available too.

Skip to end of metadata
Go to start of metadata

An attachment is any file that is included with your page. Examples of attachments are screenshots, photographs, other images, Word documents, presentations, PDF documents, videos and sound files. Attachments are useful when you want to share information that exists in another file format.

By default, when you delete an attachment, this will delete all versions of the attachment. To do that, you need the 'Delete Attachments' permission. See Space permissions.

If you want to delete a specific version of an attachment, you need to be a space administrator.

To delete all versions of an attachment:

  1. Go to the page that contains the attachment.
  2. Choose Tools > Attachments. A list of the page's attachments will appear.
  3. Choose Delete next to the attachment you want to delete.
  4. Choose Delete to confirm your action.

To delete a specific version of an attachment:

  1. Go to the page that contains the attachment.
  2. Choose Tools > Attachments. A list of the page's attachments will appear.
  3. Choose the arrow on the left next to the attachment you want to manage. A list of attachment versions will appear.
  4. Choose Delete next to the version you want to delete.
  5. Choose Delete to confirm your action.

Screenshot: Attachments and attachment versions


  • No labels

22 Comments

  1. Is it possible to recover deleted attachments in the same way it is for pages or is it a physical delete as opposed to a logical delete?

    1. Hi Russell,

      It is not possible to recover the attachment in the same way it is for pages/blog posts. Attachment that has been deleted in Confluence will be removed from the storage location. However, if you have regularly backup your Confluence instance, there is a possibility that you can recover deleted attachments:

      Hope this helps.

      Cheers,
      Azwandi

  2. Anonymous

    Is there a possibility/plugin which shows a warning when an attachment which is linked from some page within the space or confluence instance is removed, similar to page removal?

    1. Hi,

      Is there a possibility/plugin which shows a warning when an attachment which is linked from some page within the space or confluence instance is removed, similar to page removal?

      I am afraid that the feature requested is not available yet. However, I found an improvement request in JIRA:

      Please add your comments to the discussion, vote on it and add yourself as a watcher for future updates. Also, please bear in mind the following document on how we schedule features for inclusion in our products: Implementation of New Features and Improvements.

      Hope that helps.
      Best rgds,
      Zed

  3. Anonymous

    Hello all,

    my question is: Is there any way to limit the number of attachment versions to be kept in Confluence's database (Oracle, in my case) for a single file? We would like to set some kind of script/trigger to avoid Confluence users to upload a great number of versions of the same file within a short time period, and also to limit the absolute total number of versions per attached file to be kept in database.

    There might be a plugin or some configuration option to achieve this, but I've not been able to find it... Does it exist? If not, which is the best way to do it? Any clues will be highly appreciated!

    Many thanks

  4. Anonymous

    How can you delete multiple attachments at once?

    1. This is a question that many of my customers ask on a regular basis. I suggest you have a look at the Configuring a WebDAV client for Confluence page. With the WebDAV correctly set up, you can browse your spaces and pages like a network drive.

      You could thus also delete multiple attachements at once. Watch out: what seems to be a great feature bears the risk of being the source for great headaches: your users could easily - and accidentally - erase many files or entire page families with only one click.

      Use with caution and only grant the option to users you can trust ...

  5. Is there a way to delete attachments while editing a page? For example having accidentally attached a file to a page while editing, I would like to be able to remove it right then instead of saving the page and removing it after the fact.

    1. Anonymous

      I have the same problem.  I often copy a page and then repurpose it.  I'd like to remove any attachments prior to saving it.

      1. Anonymous

        I just discovered that you can remove attachments while in Edit mode if you are using the Attachments macro by using Preview and scroll down the the attachments list and remove them one-by-one.  This does not help with attached images on the page, but rather uploaded documents using the attachments macro.  Be sure to select Stay on Page when prompted.

  6. Anonymous

    Is it possible to send an email notification with the deleted attachment files? Is there a way to write a log file when some attachments have been removed?

  7. Anonymous

    I'd like a feature to remove ALL attachments. It's a little frustrating removing them one by one.

    1. Anonymous

      I would find this very useful too... What would you recommend?

  8. Hi Atlassian,

    Could you confirm that it's still not possible to recover deleted attachments in Confluence?

    Should that be the case, are you aware of a plugin to set up a "trash bin" or similar?

    Thank you,

    Saul.

    1. Hallo Saul

      I can confirm that it's still not possible to recover a deleted attachment. I don't know of a plugin that sets up a trash bin for attachments. This  search on Atlassian Marketplace shows all the attachment-related plugins, but as far as I can see none of them fit the bill.

      Cheers

      Sarah

       

      1. Thank you, Sarah. In this case we have decided to also save a database report of the filenames and their locations as part of our attachment-folder backup process.

        In case anyone finds it useful I've posted the script and instructions here: Re: Retrieve file attachments from a backup.

        Edit: Fixed link to go to the new Atlassian page.

        1. Thank you very much, Saul!

           

  9. Anonymous

    It would be very useful if the list of attachments had a small thumbnail. We are plagued with users having images in their signatures, and that causes a lot of image0001.png (or similar identical names) in the attachment lists. Often it's possible to separate them by size, but far from always.  Also, a remove all and perhaps even a checklist, making it possible to remove multiple (but not all) images would be very useful.

  10. Anonymous

    I'm disappointed that after 6 years this is still being overlooked.

    https://jira.atlassian.com/browse/CONF-6821

  11. Anonymous

    I don't have the "Delete" link in the attachment's page. Why?

  12. Anonymous

    "I don't have the "Delete" link in the attachment's page. Why?"

    Same here.

    1. You will need the Delete Attachment permission in that space to be able to delete an attachment in a space.