Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Databases

Status
Not open for further replies.

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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top