HTTrack Website Copier
Free software offline browser - FORUM
Subject: Office2007 OpenXML docs not ID'd from ashx handler
Author: VectorLord
Date: 04/21/2011 22:48
 
I have links on my intranet for an .ashx .NET handler that points to a mixture
of .ppt and .pptx files. When I run HTTrack, it properly identifies the mime
type of the .ppt files and renames the .ashx file extension to .ppt and
changes the link accordingly; however, it downloads the .pptx files and saves
them as .ashx while leaving the link unchanged. If I rename the file's
extension from .ashx to .pptx, it loads into PowerPoint just fine, so the file
is downloading okay, it's just not changing the extension to match the file
type. I have the same issue with all Office2007 OpenXML files. How do I get it
to recognize Office2007 OpenXML files and save them with the correct file
extension and link?
Here's the command line settings I'm using...

"C:\Program Files\WinHTTrack\httrack.exe" <http://localhost/Default.aspx> --path
"E:\Backups\WebSites" --mirror --sockets=8 --priority=7 --max-rate=20000000
--disable-security-limits --user-agent "Mozilla/5.0 (Windows; U; Windows NT
5.0; en-US; rv:1.1) Gecko/20020826" --footer "" --robots=0 --single-log --near
N100 -ad.doubleclick.net/* -*/ReleasedDocuments/* -*/Directory/*
-*/PressRoom/*
 
Reply


All articles

Subject Author Date
Office2007 OpenXML docs not ID'd from ashx handler

04/21/2011 22:48
Re: Office2007 OpenXML docs not ID'd from ashx handler

04/21/2011 23:45
Re: Office2007 OpenXML docs not ID'd from ashx handler

04/22/2011 14:13




3

Created with FORUM 2.0.11