On Fri, Aug 14, 2009 at 1:59 AM, Richard <richar...@gmail.com> wrote:

>
> On Aug 14, 3:10 pm, Yarko Tymciurak <yark...@gmail.com> wrote:
> > try form.vars.filename.new_filename
> >
> > the pattern is:
> >
> > form.vars.<upload fieldname>.new_filename
>
> are you sure about that? I've been accessing form.vars.<upload
> fieldname>.filename instead


Richard - this gives you the filename (sans path) of the uploaded file, not
the destination filename.


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