Adobe Reader could not open 'PA027001.ftf'

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
bradc
Posts: 10
Joined: Fri Jul 25 2003
Location: Australia
Contact:

Adobe Reader could not open 'PA027001.ftf'

Post by bradc »

I come to this forum on my knees... desperately seeking an explanation for strange occurances. We use Amyuni PDF Convertor 2.10f (have tested up to 2.10i as well) with our Java application to generate dynamic PDF reports and send them client's browsers in PDF format.

For the developers interested, the code used is:

Code: Select all

response.setContentType("application/pdf");
response.setHeader("Content-Length", String.valueOf reportBytes.length));
response.setHeader("Content-disposition","inline; filename=ChemAlertIIReport.pdf");
This works beautifully on Windows 98 - Windows 2000, but on Windows XP it gives the following [Adobe Reader] error:

Adobe Reader could not open 'pa027001.fdf' because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasn't correctly decoded).

Our immediate workaround was to change the above code to reflect the following:

Code: Select all

response.setHeader("Content-disposition","attachment; filename=ChemAlertIIReport.pdf");
StreamingContent.streamBytes(reportBytes, StreamingContentType.BINARY, response);	
...but this workaround means the PDF document doesn't automatically open (because it's binary file type)- which we desire so very greatly.

Then, just when I thought the workaround was going to alleviate the problem until the next product release, I had two clients report the same problem using Windows 2000 Server with Adobe Reader 5.1 / 6.0. Arrrrggghhh!!!

Has anyone seen this problem before (I've search Adobe & Microsoft support sites to no avail) and know how we could avoid this issue?

Thanks
Brad
Risk Management Technologies
bradc
Posts: 10
Joined: Fri Jul 25 2003
Location: Australia
Contact:

Adobe Reader could not open 'PA027001.fdf'

Post by bradc »

Sorry for the confusion... the error message is definitely FDF (not ftf as per the subject line).

Some additional information as well:

The PDF file does get successfully created (double-clicking it on the server's file-system opens it with no problems)

References to similar problems I can find are:

http://support.microsoft.com/default.as ... us;Q293792

http://www.adobeforums.com/cgi-bin/webx ... fecb0#post

http://support.microsoft.com/default.as ... 011101.asp
Post Reply