Trouble recording PDF downloads in LR11 ... (345 Views)
Super Advisor
Posts: 240
Registered: ‎11-12-2009
Message 1 of 3 (345 Views)

Trouble recording PDF downloads in LR11 ...


Working with Web/HTTP. I would like to record the download of a couple linked PDFs on the pages.

I have been trying to record this, but I keep getting empty blocks similar to this:




I have been digging through the forums and found this thread:

I've tried recording in several modes (including Web/URL) but can't seem to lick the problem.

From a user perspective, I don't think I care if the client opens the PDF in the Acrobat IE browser plug-in, or just saves the file. I think the part I care about is that the script forces the server to send me the entire PDF.

Any ideas? I'm kind of frustrated as I thought I had done this successfully once before.

Thanks in advance,


HP Expert
Posts: 1,153
Registered: ‎05-27-2009
Message 2 of 3 (344 Views)

Re: Trouble recording PDF downloads in LR11 ...

Valued Contributor
Posts: 92
Registered: ‎04-16-2010
Message 3 of 3 (344 Views)

Re: Trouble recording PDF downloads in LR11 ...



Define the pdf content-type (it must be application/pdf) as non-resource (Recording Options / HTTP Properties / Advanced / button "Non Resources..."/ use button "+" to add the content-type).


It can also be done using "Tools/Regenerate Script".


After that, you can use "%EOF%", as text to be found,  in a web_reg_find function inserted just before the step which downloads the pdf file.



The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.