问题描述
有人请向我解释为什么这个例程已经关闭了
到2年的客户,从windows(包括XP)到linux,再到
mac我的安装SP2的winXP客户现在只下载了零长度的文件吗?
//实际发送文件
Response.Clear();
Response.ContentType =" application / octet-stream";
Response.AddHeader(" Content-Disposition" ;," attachment; filename = \"" +
sFileName +" \"");
Response.Flush();
Response.WriteFile(sFullFileName);
感谢
would someone please explain to me why this routine has worked for close
to 2 years on clients ranging from windows (including XP), to linux, to
mac''s and all of a sudden my winXP clients that install SP2 are now only
downloading zero length files?
//actually send the file
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment; filename=\"" +
sFileName + "\"");
Response.Flush();
Response.WriteFile(sFullFileName);
thanks
推荐答案
这篇关于xp sp2下载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!