Create
cancel
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

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
Answer accepted
Gary 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
TAGS
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

130 views 2 11
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