[DB-SIG] Doubt in File Uploading?
chris at cogdon.org
Wed Feb 22 06:06:52 CET 2006
On Feb 21, 2006, at 8:44 PM, python eager wrote:
> > how to upload & open a file in python. Please send the code
> > snippet . It is very helpful in my project.i am using Oracle 9i.
> For example store msword doucment & Excel doucment. Thereafter this
> can be open in same software where it is stored.
> > Please help me
I don't use oracle 9i, but here's the BASIC steps you'll need to go
* Create a schema with a column that can store binary objects.
* Use an INSERT statement that inserts your word document as one of
When retriving with a SELECT, send it out to the web server like this:
print "Content-Type: application/ms-word"
That's it... but... you'll still need to learn a fair bit to get all
this working, and unless someone here is feeling especially helpful,
you'll need to learn this yourself. db-sig isn't a free programming
contract shop, we're here to help you with the database interfaces
with python, and it soounds like you need a LOT more help than that.
("`-/")_.-'"``-._ Chris Cogdon <chris at cogdon.org>
. . `; -._ )-;-,_`)
(v_,)' _ )`-.\ ``-'
_.- _..-_/ / ((.'
((,.-' ((,/ fL
More information about the DB-SIG