Hi,

I'm using web2py with Oracle 10 and I'm having a problem trying to
upload a file:

in db.py I have:
db.define_table('my_images',Field('name','string'),Field('image',
'upload'))

I have an html form whre the user chose wich file to upload. When the
form is submitted i do the following:
db.my_images.insert(name=[some_name],image=request.vars.upload) and
then i got the error ORA-01704: string literal too long.

request.vars.upload value is  C:\temp\a.jpg

Can anybody help me??

Reply via email to