打印

[求助]关于掌上版的下载问题!

小弟做了个掌上版的下载!下载的页面为 down.asp
代码如下!
fileUrl为下载文件地址
types = Split(fileUrl,".")
typet = types(Ubound(types))
Select case Lcase(typet)
case "txt" : Response.ContentType="text/plain"
case "mp3" : Response.ContentType="audio/x-mpeg"
case "wav" : Response.ContentType="audio/x-wav"
case "mid" : Response.ContentType="audio/midi"
case "sis" : Response.ContentType="application/vnd.symbian.install"
case "tsk" : Response.ContentType="application/vnd.ppc.thm"
case "utz" : Response.ContentType="application/vnd.uiq.thm"
case "jad" : Response.ContentType="text/vnd.sun.j2me.app-descriptor"
case "jar" : Response.ContentType="application/java-archive"
case "avi" : Response.ContentType="video/x-msvideo"
case "3gp" : Response.ContentType="video/3gpp"
case "wmv" : Response.ContentType="video/x-ms-wmv"
case "wma" : Response.ContentType="audio/x-ms-wma"
case "cab" : Response.ContentType="application/octet-stream"
case Else : Response.Write " "       
End Select       

Response.Redirect " XXX" & fileUrl

小弟用多普达测试下载WMV的文件!下载下来是down.wmv并不是原来文件的名字!
而后我给出直接下载地址测试是正常的!
但是在我在直接给出现在地址上用Response.Redirect又变成了down.wmv
是不是Response.Redirect的问题呢???
还有我的资源和下载页面在不同的服务器上面的!
大侠帮忙!!!!!谢谢!
没有人肯帮忙啊???
这边太冷清了!