My first attempt was to include this simple hyperlink in the page:
Code: Select all
<a href="xyzzy.exe">download</a>The web server (an IIS server over which I have no control beyond what PHP gives me), does not include a Content-length header in the file transfer, which means that the browser does not no how long the download will be.
Can I somehow use PHP (or some other technique) to force the inclusion of a Content-length on the EXE file transfer? Or is there, perhaps, a more correct way to do what I want?
--
Claus