Send File to User

Nov 8, 2010 at 5:15 PM


I have created a page that allows users to upload files to the server via NeatUpload. The files are then displayed and at that point I want the user to be able to download them again. However, with the httpModule set to True for this one page, it inteferes with both TransmitFile and BinaryWrite. I thought about just hosting the documents so that I could just link to them, but that is a security concern also the user has the ability to add/remove folders in their area which is reflected on the physical drive. These actions can cause loss of session when FileNotification service picks up the changes.

When I do try to use TransmitFile I get the following error.

Microsoft JScript runtime error: 'WebForm_PostBackOptions' is undefined

Please help.