Skip to main content
Participating Frequently
November 5, 2008
Question

help from generate pdf from http pdf document

  • November 5, 2008
  • 3 replies
  • 600 views
hi,

I've somes url like : http://www.server01/mydoc1.pdf, http://www.server01/mydoc2.pdf

from another server (server02),what is the solution to merge a new pdf document on server02 from theses urls from server01?
I try with cfdocument but it doesn't work...

thanx for your help

regards,

Pascal
This topic has been closed for replies.

3 replies

BKBK
Community Expert
Community Expert
November 7, 2008
!

Participating Frequently
November 6, 2008
thank you very much...
BKBK
Community Expert
Community Expert
November 5, 2008
What's your CF version?

Participating Frequently
November 6, 2008
MX 8

I find a solution with
<cfhttp url=" http://www.server01/mydoc1.pdf" method="get" resolveURL="no" file="mydoc1.pdf" path="d:\directory2\"></cfhttp>
BKBK
Community Expert
Community Expert
November 6, 2008
I try with cfdocument but it doesn't work...

I don't expect it to. Cfdocument is for converting from CFML and HTML to PDF, not for merging.

Since you're on CF8, you can use the cfpdf tag. The following example downloads two PDF files, then merges them. However, I get the feeling there should be a more efficient way.