request.vars.<field_in_form>.file should give you the binary definition of the file, I am using it with uploadify
-- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] [ Consultoria em desenvolvimento web: http://www.blouweb.com ] On Wed, Jun 1, 2011 at 11:43 AM, jc <j-cl...@lineone.net> wrote: > I wish to upload a file, then process it without storing it in the > upload folder (or anywhere else on the file system). I am trying to > use the 'SQLFORM.Factory' because it gives me the nice html table of > input fields, and the normal 'if form.accepts' processing for > convenience. I thought I could persuade the form to upload and store > the file contents in 'request.vars.field.file' for processing. > > Nothing I have tried so far in the field definition has allowed me to > access the contents of the file in a variable, without it being stored > to disk. Can anybody advise me what is the simplest way to achieve > this? > > Thanks.