Hi,
Ja. Allerdings musst du dazu die HTTP-Header manipulieren (mit einer Skriptsprache, z.B. PHP) und folgenden Header setzen:
Genau. In PHP geht es z.B. mit folgendem kleinen Skript:
<?php
header("Content-Type: application/msword");
header("Content-Disposition: attachment; filename=download.doc");
readfile("original.doc');
?>
In ASP:
<%
Response.AddHeader "Content-Type","application/msword"
Response.AddHeader "Content-Disposition","attachment; filename=download.doc"
Dim vntStream
Set oMyObject = Server.CreateObject("MyObject.BinRead")
vntStream = oMyObject.readBinFile("c:\temp\tempxls.xls")
Response.BinaryWrite(vntStream)
Set oMyObject = Nothing
Response.End
%>
(Beispiel ungetestet von Microsoft übernommen, siehe http://support.microsoft.com/default.aspx?kbid=193998)
Der Yeti
Habe nun, ach! WInfo, BWL, und Mathe, Und leider auch Info!
Durchaus studiert, mit heißem Bemühn. Da steh' ich nun, ich armer Thor!
Und bin so klug als wie zuvor!
sh:( fo:| ch:? rl:? br:< n4:& ie:( mo:| va:| de:[ zu:) fl:| ss:) ls:< js:|
http://community.de.selfhtml.org/fanprojekte/selfcode.htm