It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can i donwload all versions of 1 file ?


we have an automated API call posts some data into an excel file every day onto confluence. The files are therefore versioned. Rather than manually downloading them one by one, is there a way i can download them in Bulk?  When i click "download all", it only downloads the latest version of this file...

thank you for your help

1 answer

0 votes
Zak_Laughton Atlassian Team Jan 15, 2020

Hi Barbara,

Unfortunately, I don't think there's a native way to do this in Confluence. However, you may be able to get all the attachments at once by doing a space export (see Export Content to Word, PDF, HTML and XML).

When you do a space export, you should get a zip file that contains a folder with all the attachments. However, these attachments will be in a directory labelled by the numerical page and attachment ID, not by the file name you see in Confluence. You should be able to find the attachment id in the URL for the file on the attachments page. All versions of the file should be named according to their version in a folder named the same as the attachment id.

For example if the attachment ID is 1234 and there are 10 versions of the document, you should be able to a folder titled 1234 nested somewhere in the attachments of an export with files named 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10. These files won't have file extensions, but you should be able to view the files regularly when you add the file extension yourself (e.g. 10.xls).

I know this workaround is a little involved, but thought I'd share in case it helps what you're trying to do here.

I hope this helps!
– Zak

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

353 views 11 11
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you