|
Prev: [discuss] New ideas
Next: Missing Product
From: Ann on 26 Jul 2006 15:09 Hi all, I am creating a website where we have to convert .odt documents to PDFs and save to database (MySql : BLOB). I am at a point where I upload .odt document (which gets saved to a fixed location on the disk) and then convert that document to PDF using xStorable.storeToURL(sStoreFileUrl.toString(), storeProps); The PDF again gets stored to the disk. Then I fetch those files from those fixed locations and save to the database. I want to avoid all these disk accesses and save the PDF file to the database as soon as it is generated. Any suggestions will be helpful. Thanks in advance..
From: don.orban on 28 Jul 2006 10:46 Sorry if this is a dumb question, but why do you want to store as a BLOB in the DB? Could you put the files in a file system, and just store the reference to them? Ann wrote: > Hi all, > > I am creating a website where we have to convert .odt documents to PDFs > and save to database (MySql : BLOB). > > I am at a point where I upload .odt document (which gets saved to a > fixed location on the disk) and then convert that document to PDF using > > xStorable.storeToURL(sStoreFileUrl.toString(), storeProps); > > The PDF again gets stored to the disk. > > Then I fetch those files from those fixed locations and save to the > database. > > I want to avoid all these disk accesses and save the PDF file to the > database as soon as it is generated. > > Any suggestions will be helpful. > > Thanks in advance..
From: fhtino on 31 Jul 2006 03:10 What do you use to convert .odt document to pdf ? Fabrizio
|
Pages: 1 Prev: [discuss] New ideas Next: Missing Product |