From: Patrick Spence Date: 2006-08-23T22:30:13+09:00 Subject: Re: Storing animated .gif images Patrick Spence wrote: > The following code throws the error indicated in the code. Apparently > this only appears to happen with animated gifs. Other image formats; > jpg, etc., are ok. A VB version of this code, which also uses ADO, works > w/o any problems. <*big* snip> I guess I've answered my own question... an animated gif file is actually *several* layered images. No bloody wonder I was getting the aforementioned error when I attempted to store it in the SQL Server table. On the brighter side of things, I've stumbled across a way to store and retrieve other binary files; specifically .jpg's, in a table, w/o resorting to using the ADODB.Stream object. If there's any interest, I'll post the code. -- Posted via http://www.ruby-forum.com/.