Hi weheh -

Thanks for asking this - it was a good review of the draft of the book:


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

> try form.vars.filename.new_filename


try form.vars.filename_newfilename


> the pattern is:
>
> form.vars.<upload fieldname>.new_filename


the CORRECT pattern (as it behaves) is:

   form.vars.<upload fieldname>_newfilename

I have working code if you need it - let me know;

- Yarko


>
>
> On Thu, Aug 13, 2009 at 11:58 PM, weheh <richard_gor...@verizon.net>wrote:
>
>>
>> I want to open the uploaded file, parse it, and then delete it. But
>> I'm having trouble figuring out which variable has the name of the
>> upload file. I know it's probably something really stupidly simpe that
>> I should know, but I can't find it easily in the doc.
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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