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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 2 hours ago in Off-topic

Miscellaneous Monday - CreatatronV3

You may remember, not so long ago, that together we invented the most evil of machines: The Destructo5000!  The effects of missing Durian rippled over nations. Complete chaos as goat chee...

36 views 2 2
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