pdf save

mmniet

New Member
Hi,

i have developped a program which generates an HTML document. With a converter its converted into an PDF-file.

I call the pdf with a http request (when i request the file it's being generated). for example: www.example.com\invoicepdf.htm?invoiceid=12345.

I receive some data back, but i can't save the file to a place on my drive.

When i opened the PDF it says it is broken.

I then used fiddler to debug the problem using IE.

I found the following problem:
1. I save the raw data, but this aint all the data for the PDF, so the file is to small and thereby broken.
2. When i compare a good pdf with the hexadecimal value i can see in fiddler is see the correct pdf-information.

Can anyone help me with this problem?
 
i have discovered that it is a multipart html message. can anyone tell me how to read a multipart message?
 
Back
Top