Sorry if this is a duplicate. I tried to post this a few hours ago but don't see it anywhere?
I have a typical script to export a PDF...
Set Variable [ $Path ] - to the desktop with the file name that includes the extension(.pdf)
Then Export Field Contents [ ReportPDF ; $Path ]
In FileMaker the file is exported with the extension. In WebDirect using chrome it is exported but without the extension.