• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

b(very)lob

 
jeroen dijkmeijer
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have the following usecase: every monday 7:00 we have to download a very large (220 mb) file from a webserver, zip it and store it in a oracle 9 db. (yeah yeah dont ask, storing it in the db is not giving any advantage above file storage).
What would be the most easiest way to do this?
We currently store it to a filesystem using:

I'm hoping for some code to connect the (zip)outputstream to a argument in a prepared statement. And write the chunks to it. If somebody could point me in the right directions I'm very happy.
regards,
Jeroen.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic