These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Download part of a PDF file

thisisthepope
Registered: Jul 28 2009
Posts: 5

Hello everyone,

I have a PDF that is a collection of short stories. Is it possible to post a link that will download only a part of that PDF file?

What I do now is upload the original PDF file as well as every story as its own PDF which ends up doubling the space on the server.

How can I do this? A javascript embedded in the original PDF file that is activated by the html link?

Thanks for any help.

My Product Information:
Acrobat Pro 9.1.1
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can't download only specific parts of a file.
You always will need the whole file, otherwise it's incomplete (corrupt) and can't be used.
It's a general law of computing and applies for every filetype.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

thisisthepope
Registered: Jul 28 2009
Posts: 5
Thx for the reply but I obviously don't want to download a 'slice' of the binary code of the PDF file. Perhaps I wasn't clear, but I want a click to be able to download a working PDF file that is a section of the master PDF file on the server.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Radzmar is correct in a way. There is no built-in or easy (cheap) way to split a file on the server side for delivery to a user. There are 3rd party tools you could buy that in combination with a custom server script could perform this function. But you'd be better off splitting the file up front into indivual pages or sections, and then delivering these to the user.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script