G
Guest
Greetings. I've had the following code running perfectly on site for nearly
18 months and then on March 2, 2005 I started getting reports from users that
my file download feature was broken. It's not just a certain file type it's
all file downloads.
The stranger thing is that I haven't made any settings changes to the IIS
box in months. I'm wondering if maybe some hotfix tweaked something. I'm
noticing other developers are seeing this same problem all of sudden. There's
one post in this group and several on the ASP.NET forums.
Any help is appreciated.
....
Response.AddHeader("content-disposition", String.Format("attachment;
filename={0}", objAsset.FileName))
Response.ContentType = objAsset.ContentType.ToString
Response.OutputStream.Write(CType(objAsset.FileData, Byte()), 0,
CInt(objAsset.FileSize))
....
18 months and then on March 2, 2005 I started getting reports from users that
my file download feature was broken. It's not just a certain file type it's
all file downloads.
The stranger thing is that I haven't made any settings changes to the IIS
box in months. I'm wondering if maybe some hotfix tweaked something. I'm
noticing other developers are seeing this same problem all of sudden. There's
one post in this group and several on the ASP.NET forums.
Any help is appreciated.
....
Response.AddHeader("content-disposition", String.Format("attachment;
filename={0}", objAsset.FileName))
Response.ContentType = objAsset.ContentType.ToString
Response.OutputStream.Write(CType(objAsset.FileData, Byte()), 0,
CInt(objAsset.FileSize))
....