PDF Multi page download using curl

Paul Brandariz January 23, 2013

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
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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

Paul Brandariz February 1, 2013

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
AUG Leaders

Atlassian Community Events