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

Accepted Answer
0 votes
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
Published 18m ago in Jira

My Top 10 Favorite Features in the New Jira

  This morning, our CEO Scott Farquhar shared exciting news about a reimagined experience in Jira Software. As Principal Product Manager for Jira Software, I wanted to   re-share h...

6 views 0 2
Read article

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