Previous | Next | (P-PDF) Developers
Topic: Byteserving and HTTP_RANGE (byteserver.pl)
Conf: (P-PDF) Developers, Msg: 52067
From: mchilds
Date: 5/29/2002 04:49 PM
I've recently been working on an issue with byteserving
a PDF inside of our fire wall. Since this file is
inside of the fire wall (very personal user info), I
cannot simply display it from the App server location.
All info in the PDF is generated from the importing
of FDF data and appending user specific PDFs to the
original. The PDF is optimized using the PDSaveFull +
PDSaveLinearized parameters.
I'm trying to convert the byteserver.pl (down loaded
from the Adobe Web Site) Perl Script into the VB
code (it's actually Haht code, which is a lot like VB). I've been unsuccessful. I cannot figure out
how the range data is generated?!
For instance, in byteserver.pl, ranges = $ENV{'HTTP_RANGE'}. For my PDF the value looks like this: $ranges = bytes = 291299-291348,291240-291298,444769-446227,446228-446484,446485-447943... and so on.
How are these ranges generated?
Thank you,
Mike