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!

reading a blob and write it into a file

Status
Not open for further replies.

guykes

Programmer
Mar 19, 2002
1
BE
I 've putted a file into a blob by using dbms_lob.loadfromfile. The file was gzipped in unix.The lenght of the blob (using dbms_lob.getlength) is the same as the file on the filesystem.So far so good.Now when I want to read back the blob and put it in a file using utl_file, i see the the reproduced file is bigger when I compare it with the original file. So this means when I want the gunzip,gunzip gives error. Now I have red that utl_file adds chars when it puts it in a file, is there an other way to get the blob back in a file without differences to the original? Thankx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top