PoledraDog
Programmer
I have a cgi script that downloads a file as an octet stream. The file itself can be of various formats/contents. In cases where it is an XML file that references a dtd file, I get the infamous message:
Some files can harm your computer. If the file information below looks suspicious, or you do not fully trust the soure, do not open or save this file
So far so good. If I click save, everything works fine.
However, if I hit *cancel*, and then go back and invoke the script again, I get an error stating that the dtd file (that the XML file I'm trying to download references) is not present.
Furthermore, the path it is looking for the dtd file in is not the path where the file I'm trying to download is. It is looking for the dtd file in the location of the cgi script on the server. I have no idea why this would be the case.
Any idea why this happens, or how I can get around it? This only happens in Internet Explorer (fully updated), not Netscape.
Any help would be greatly appreciated!
Some files can harm your computer. If the file information below looks suspicious, or you do not fully trust the soure, do not open or save this file
So far so good. If I click save, everything works fine.
However, if I hit *cancel*, and then go back and invoke the script again, I get an error stating that the dtd file (that the XML file I'm trying to download references) is not present.
Furthermore, the path it is looking for the dtd file in is not the path where the file I'm trying to download is. It is looking for the dtd file in the location of the cgi script on the server. I have no idea why this would be the case.
Any idea why this happens, or how I can get around it? This only happens in Internet Explorer (fully updated), not Netscape.
Any help would be greatly appreciated!