Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Probs - reading to/from - PDF to BLOB...
Hi' - Found out.
I just copied the code without further notice. The write-to-file routine had 'w' in the utl_file.fopen. Replacing this with 'wb' - did the job....
Thx, again
"Thomas Kyte" <thomas.kyte_at_oracle.com> wrote in message
news:121866501.0001529b.054_at_drn.newsguy.com...
> In article <qwh1e.107589$Vf.4091205_at_news000.worldonline.dk>, Verner
> Jensen,
> Ålborg says...
>>
>>Howdy !
>>
>>Via Tom Kyte's site - I found two routines for reading/writing - a PDF
>>file
>>to/from database. See below.
>>
>>Question I've tried to read/write the same PDF and GIF - file - but both
>>times the output file - which should be identical to the input file -
>>ended
>>up different/corrupted?
>>
>>Using Xp, 10g - same for in/out.............
>
> version of database?
> have you analyzed what is different -- off by a byte or total garbarge?
>
> http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:6379798216275#19264891198142
> shows what I've found to be the "neatest" way to get the blob out -- ftp.
>
>
>
>>
>>Any suggestions?
>>
>>Rgds, Henrik
>>
>>
>
>
> --
> Thomas Kyte
> Oracle Public Sector
> http://asktom.oracle.com/
> opinions are my own and may not reflect those of Oracle Corporation
Received on Sun Mar 27 2005 - 01:19:51 CST