Dear all,
Lets say that I have a model with two files (upload) field like in the
following example:
db.create_table('files',
Field('originalfile', 'upload'),
Field('processedfile', 'upload', readable=False, writable=False)
)
Well, original file is uploaded from a crud generated form, and
processed file is created after store the form in the database. Now
the question is... having the processedfile like this:
Archivo=open('myfile', 'w')
How can I make a files.update_record(processedfile=...???) in order to
have a valid downloadable file?
I hope I explained myself enough... if not, please ask.
Thanks and kind regards,
Bernardo