Firefox Error Message "part of the file name could not be saved because the source file could not be read"

This error is discussed in many places on the Internet. This is a strange problem, as some Firefox installations will work, while others will not even if they are the same version. Some Chrome installations do not work, but IE always works.

There are a number of solutions discussed; Mostly based on cleaning up the β€œcorrupted” files from Firefox, but they often do not work, as discussed by people on the forums.

However, I found that in a number of places the problem has nothing to do with the browser, but is caused by the server and (in my case) ASP.NET code to load.

Simply put, if the file is larger than a certain size (in the case of my servers in DiscountASP, the limit is 4 MB), then you get an error if you do not indicate that the download consists of parts.

Adding this response object fixes the problem:

FROM#

context.Response.StatusCode = 206; context.Response.StatusDescription = "PartialContent"; 

Even if the file is smaller than the size limit, adding the above code does not seem to cause problems.

I hope this is helpful to people trying to cure this nasty problem.

+4
source share

All Articles