PDF Multi page download using curl

To get a single page in PDF using curl I have been doing.

curl -s -G -L http://yourclienthosted.onconfluence.com/spaces/flyingpdf/pdfpageexport.action?pageId=11928378&os_username=yours@domain.com&os_password=elpassword > thepdffile.pdf

Is it possible to get a multi page document or even a space using something similar?

1 answer

1 accepted

0 votes
Accepted answer
Gary Sackett Atlassian Team Jan 29, 2013

Hi,

There is not a way to pull down a whole space with curl - I dont think multiple attachments would work either. However, you should be able to pull down multiple attachments using REST and the JIRA api:

http://docs.atlassian.com/jira/REST/latest/

Cheers,
Gary

I dont want to pull the whole space. I want to be able to call the flyingpdf utility to convert a space to PDF on the hosted confluence site and download the PDF file, althought the REST api looks intersting.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Agile

What is Scrum? A good, bad, and ugly answer.

In a world of dark-scrum, faux-scrum, and scrum-butt, the question still remains: What is scrum and how do you do it “right?” That’s the question we set out to answer. I'm Max, I've been teaching c...

44 views 0 1
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you