On Fri, Aug 14, 2009 at 2:39 AM, Yarko Tymciurak <yark...@gmail.com> wrote:

> from a standard welcome boilerplate...


that is from also changing the last line in my example to mimic what weheh
had:

   return dict(form=form, filename=form.vars.filename_newfilename)



>
>
> On Fri, Aug 14, 2009 at 2:30 AM, mdipierro <mdipie...@cs.depaul.edu>wrote:
>
>>
>> The new name is stored in form.vars.[fieldname]_newfilename
>> The original filename is in request.vars.[fieldname].filename and it
>> is b16encoded into the uuid of the new filename.
>>
>> On Aug 13, 11:46 pm, weheh <richard_gor...@verizon.net> wrote:
>> > I'm using SQLFORM.factory as follows:
>> >
>> >   form = SQLFORM.factory(Field('filename','upload'))
>> >
>> > How/where is the name of the uploaded file stored?
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to