I don't have the filename with it, I will generate the filename. The varbinary data will always be in the same format. I am trying to acertain what image format that is, but if I can't get that info then I will just use a process of trial and error with different filename extensions until I figure it out.