Guest_imported
New member
- Jan 1, 1970
- 0
I am trying to insert an application into a database so it can be downloaded at a later date.
To download the application im using:
Response.ContentType = "application/octet-stream"
Response.WriteBinary objRS("FileData"
The FileData field in my database is of the type OLE Object and I insert the file using Access.
The problem is when I download the file using my ASP code it displays the normal download dialog and seems to download the file correctly, however when I try to run the downloaded file it does not work, neither does it have its original icon.
Any ideas?
To download the application im using:
Response.ContentType = "application/octet-stream"
Response.WriteBinary objRS("FileData"
The FileData field in my database is of the type OLE Object and I insert the file using Access.
The problem is when I download the file using my ASP code it displays the normal download dialog and seems to download the file correctly, however when I try to run the downloaded file it does not work, neither does it have its original icon.
Any ideas?