It basically needs to stream out of the database. If you get it in a result set, you need to handle it as a stream and not a set of text characters. To insert it, there is a utility in the resource kit (iis.exe?) or you can use the stream method of ADO.
Steve Jones
steve@dkranch.net