Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Hi Zac - Do you know if these exports preserve the timestamp of each version?

Suggest an answer

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

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,635 views 7 30
Read article

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