Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3691 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We have a script that downloads PDFs from our corporate web site and saves them to our internal server. (Long story; suffice to say it’s a good thing.) We use ScriptMaster’s GetURLasContainer to copy the PDF to a container field, then use FileMaker 11’s own Export Field Contents to save the file to an appropriate path. Unfortunately, we’re having an issue where the PDFs being downloaded to the container are corrupt. When we try to open them, we get the following error message:

 

The file [insert file name] could not be opened.

It may be damaged or use a file format that Preview doesn’t recognize.

 

—or—

 

Acrobat could not open [insert file name] because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn’t correctly decoded).

 

To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF.

 

I suspect the error is somehow related to our recent upgrade from ScriptMaster 3.34 to 4.206, but we’d really hate to go back due to a plugin conflict we’re no longer having. Does anyone have any suggestions?

 

 

Thank you!  :)

  • 2 weeks later...
Posted

In case anyone happens along with the same problem, we finally fixed this by moving to BaseElements and using BE_GetURL instead.

This topic is 3691 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.