[thelist] Retrieving OLE File from Access DB with Classic ASP

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Mon Dec 19 06:11:30 CST 2005

>I was looking for an option to force the browser to download the data.
>There are plenty of examples of streaming a file from the filesystem but not
>for lifting binary data from a database then streaming it to the browser.

If you cannot find your way out, you may consider splitting the problem:

1. save the stream in the db to a temporary file.
2. open that file.
3. stream it to the browser.
4. delete the file when done.
+ Make sure the filename is unique for that particular session.
+ Make sure a way to delete way to remove the file if something goes
wrong (a server error / connection faliure etc.)

Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/volkanozcelik/blog/
+> My projects/studies/trials/errors : http://www.sarmal.com/

More information about the thelist mailing list