Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 1207
Product
FileUp
Version
5
Title
When using FileUp in ASP.NET, files uploaded to a database are corrupted when UseMemory is set to "True" and the HttpModule is used.
Problem
The combination of using the HttpModule, FileUp's SaveAsBlob method and FileUp's UseMemory property causes a corruption in uploaded files.
Solution

This problem is currently being investigated. Until it can be corrected, the recommended solution is to set FileUp's UseMemory property to "false".

If the intention was the force the upload to be cached to memory instead of to disk, then the better design strategy is to remove the use of the HttpModule for this page and leave UseMemory set to "true". This is because the HttpModule was designed to intercept the upload before ASP.NET caches the upload request to memory. The HttpModule is best used when you want to cache the upload to disk.


For further reading:
Created : 2/24/2006 10:29:17 AM (last modified : 2/24/2006 10:29:16 AM)
Rate this article!
Comments