Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

PDF cannot be downloaded using CWP when document is added using FileMaker 13 (5 Comments)

$
0
0

Issue report by Darren Burgess

Product

FileMaker Pro

Version

13 v3

Operating system version

OS X 10.9.5

Description of the issue

We developed a CWP application that allows the user to download a PDF that is stored in a container field. External Secure.

When a PDF file is added to the database using a FileMaker 12 client, the PDF can be opened in a web browser.

When a PDF file is added to the database using a FileMaker 13 client, the PDF cannot be opened in a browser.

Steps to reproduce the problem

Use a FileMaker 13 client to upload a PDF to a container field.

Attempt to open the PDF in a browser using a CWP application.

Expected result

PDF will open and display in the browser

Actual result

PDF fails to download and display

Exact text of any error message(s) that appear

Chrome 38: Displays message "Failed to load PDF document"
Firefox32: Displays message "This PDF document might not display Correctly"

Firefox also allows the PDF to be downloaded as an alternative. If the PDF is then downloaded locally Preview displays the following message:

The file "test.pdf" could not be opened. It may be damaged or use a file format that Preview doesn't recognize.

Configuration information

I would think you may ask me for the CWP code used to download the PDF. This could be provided, however I think it is significant that the CWP code works fine when the PDF is uploaded with a 12 client.

Workaround

If the file is added to container field, by any method (drag and drop or insert picture), using a FileMaker 12 client then the PDF can be downloaded.

Note that the PDF is accessible in the container field in a FileMaker client.

Viewing all articles
Browse latest Browse all 3510

Trending Articles