It has always return the file name instead of a stream, except for a trunk version in which we did a test.
On Sunday, 10 March 2013 13:58:23 UTC-5, Alex wrote: > > I'm currently using web2py 2.1.1 and wanted to try 2.4.2 but I got a > problem with retrieving uploaded files from the file system. I'm using the > retrieve method of the upload field. > The problem is in dal.py line 9265 where it returns the file path instead > of the stream. > stream = pjoin(file_properties['path'], name) > previously this was > stream = open(pjoin(file_properties['path'], name), 'rb') > > now my code does not work anymore. I assume the missing open call is a > bug, right? > > Alex > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

