Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use flyingpdf pdfpageexport to automatically save a page to a PDF file

Walt Fles May 24, 2012

Is there a URL I can use to have flyingpdf to automatically save a page to pdf, without having to answer "where" (i.e., put the save to path on the URL), i.e.:

https://<confluence URL>/spaces/flyingpdf/pdfpageexport.action?pageId=12345?saveFile=<pathtofile>

Id like to be able to do this via Curl or the Rest API without exporting the entire space.

2 answers

0 votes
Walt Fles May 28, 2012

I need to be able to construct the URL for the pdf. If I do this on the browser web address:

https://<confluence URL>/spaces/flyingpdf/pdfpageexport.action?pageId=12345

I get the window's "save file" dialog.

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 25, 2012

Add an entry to your favorite scheduler (cron) to use wget with the URL for the pdf. Specify -o option for wget to store it in the required location. If needed dynamically construct the file name also as per date/time.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events