PDF generated on the fly and Safari on Yosemite

Bob Sneidar bobsneidar at iotecdigital.com
Mon Jun 29 10:51:25 EDT 2015

The usual. Check disk. Repair permissions. Try again. 

I am having difficulty under 10.10.2 with another app. The developer tells me that the new patch is not compatible with 10.10. However, many I know are using it in 10.10.x. It’s probably something to do with moving a file from temporary storage to where you are trying to download it. 

Bob S

> On Jun 26, 2015, at 02:34 , jbv at souslelogo.com wrote:
> Hello list,
> I have several lc scripts on a server that generate pdf files "on the fly"
> when triggered from a html page on a client PC or Mac.
> Everything has been working fine for years (meaning the pdf were
> displayed or downloaded, depending on the OS or the browser).
> But suddenly, on Mac OSX 10.10.3 Yosemite, with Safari 8.0.6
> (10600.6.3), the downloading stops working and Safari displays an
> error message, something like "Safari cannot open the file xxx.pdf
> because it's still downloading"...
> Everything still works fine with Chrome and Firefox on Mac, and with
> any browser on Windows.
> Here are the few lines of code that set the content of the header of
> the pdf :
> put header "Content-Type: application/pdf"
> put header "Content-Length : " & number of chars of myPDF
> put header "Content-Disposition: attachment; filename=" &quote&
> maRequeteName &quote
> Any idea about the origin of the problem ?
> Thanks in advance
> jbv
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list