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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 ?

Hello, 

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
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

480 views 24 9
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