[web2py] Re: [NFiT] upload fields has a retrieve_fileproperties function

2012-03-29 Thread szimszon
Sent a patch to google code: 
http://code.google.com/p/web2py/issues/detail?id=742

2012. március 29., csütörtök 15:32:01 UTC+2 időpontban Alan Etkin a 
következőt írta:
>
> Shouldn't it be called ..retrieve_file_properties?
>
> On Thursday, March 29, 2012 5:58:35 AM UTC-3, szimszon wrote:
>>
>> 2012-03-28 22:22:19
>>
>> If you seek for the uploaded file's original name or the actual location 
>> of the file in the disk now you can retrieve it by:
>>
>> file_prop=db.files_store.content.retrieve_fileproperties( row.content )
>> original_filename=file_prop['filename']
>> path_to_the_stored_file=file_prop['path']
>>
>> Path is None if file is in DB.
>>
>

[web2py] Re: [NFiT] upload fields has a retrieve_fileproperties function

2012-03-29 Thread Alan Etkin
Shouldn't it be called ..retrieve_file_properties?

On Thursday, March 29, 2012 5:58:35 AM UTC-3, szimszon wrote:
>
> 2012-03-28 22:22:19
>
> If you seek for the uploaded file's original name or the actual location 
> of the file in the disk now you can retrieve it by:
>
> file_prop=db.files_store.content.retrieve_fileproperties( row.content )
> original_filename=file_prop['filename']
> path_to_the_stored_file=file_prop['path']
>
> Path is None if file is in DB.
>