Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ HTML file download

Posted by: vivek.sharma Sep 21 2009, 12:11 AM

I have a shtml web page that has link to the PowerPoint slide. when the hyperlink is clicked on it shows different options to different users. In some cases the file download box shows the Document Type as "Microsoft Office PowerPoint Presentation, 78.1 KB" while to some users the Document type is shown as "Compressed (zipped) Folder, 78.1 KB." Both these messages are shown on the same hyperlink where the document type is PowerPoint. NOt sure why some users are seeing the Compressed file type in the download dialog box.

Posted by: pandy Sep 21 2009, 02:33 AM

Can we see the page?

Posted by: vivek.sharma Sep 21 2009, 09:10 PM

Attached ImageAttached ImageIts a Intranet website so will not be able to share the URL, however here are the images of what the users are seeing.

Posted by: pandy Sep 22 2009, 12:58 AM

Well, that bit I understood already. tongue.gif

Does the zipped version exist on the server or is it created on the fly? Is there any content negotiation going on? What file type is the PP file (ppt, pps...)? Check what content-type the server gives it.

Posted by: Frederiek Sep 22 2009, 03:53 AM

Both dialogs show it concerns a .pptx file, wich apperently is the new format for Microsoft Office (2007) documents. It is a combination of XML architecture and ZIP compression for size reduction.

I believe you don't have to worry about the different dialogs because of the above. See also http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2134.entry

Posted by: pandy Sep 22 2009, 08:34 AM

Ah duh. You are so smart! wub.gif I didn't even (try to) read. blush.gif

Posted by: Frederiek Sep 22 2009, 09:56 AM

QUOTE(pandy @ Sep 22 2009, 03:34 PM) *

Ah duh. You are so smart! wub.gif I didn't even (try to) read. blush.gif

cool.gif laugh.gif

Posted by: vivek.sharma Sep 22 2009, 10:07 PM

QUOTE(pandy @ Sep 22 2009, 11:28 AM) *

Well, that bit I understood already. tongue.gif

Does the zipped version exist on the server or is it created on the fly? Is there any content negotiation going on? What file type is the PP file (ppt, pps...)? Check what content-type the server gives it.


The zipped version does not exists on the server and i guess it comes up on its own. The content type is .ppt

Posted by: vivek.sharma Sep 22 2009, 10:09 PM

QUOTE(Frederiek @ Sep 22 2009, 02:23 PM) *

Both dialogs show it concerns a .pptx file, wich apperently is the new format for Microsoft Office (2007) documents. It is a combination of XML architecture and ZIP compression for size reduction.

I believe you don't have to worry about the different dialogs because of the above. See also http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2134.entry


Is there a way to override this. WHat it is doing currently is increrasing the number of mouse clicks for the users.

Posted by: Frederiek Sep 23 2009, 06:55 AM

I'm not on PC, so I have no idea.
But I don't suppose users get both dialogs and if they are really interested in getting the file, then one more click shouldn't bother them either.

Posted by: pandy Sep 23 2009, 09:26 AM

I don't understand how this creates an extra click even.

Posted by: Frederiek Sep 24 2009, 02:19 AM

Well, once to click the link to the file on the page and once more to accept the download, maybe?

Posted by: pandy Sep 24 2009, 05:06 AM

Yeah, but that's normal. How could the different dialogs affect that?

But if forcing download is what you want, see here: http://htmlhelp.com/faq/html/links.html#force-download. It will still require a click of a button though.
http://htmlhelp.com/faq/html/links.html#force-download

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)