i meant to say if you wanted to set the *file name/rename it ----------------------- Visit My Sites! www.syrbot.com | My Site www.attackr.com | Latest Blog Posts
On Tue, Jan 26, 2010 at 7:16 AM, Greg Milby <[email protected]> wrote: > One thing i was wondering frmo reading your class paste was what if you > wanted to define the form name inside the upload form - how would these > values be arrayed? (so that you could manually set the name OR other > information in the uploaded form post) > > > ----------------------- > Visit My Sites! > www.syrbot.com | My Site > www.attackr.com | Latest Blog Posts > > > > On Tue, Jan 26, 2010 at 7:12 AM, Branko Vukelic <[email protected]>wrote: > >> On Tue, Jan 26, 2010 at 12:58 PM, Anand Chitipothu <[email protected]> >> wrote: >> > On Tue, Jan 26, 2010 at 5:22 PM, Branko Vukelic <[email protected]> >> wrote: >> >> I'm using web.py master retrieved about 2 or 3 weeks ago. So before >> >> you go on to read the rest, if file uploading doesn't work (the way it >> >> is described in the cookbook at least) in the master for some reason, >> >> please tell me so, and I'll switch back to .33 >> >> >> >> >> >> Here's my app.py: >> >> >> >> http://dpaste.com/150637/ >> >> >> > >> > Try using: >> > >> > f = upl_form(web.input(file={})) >> >> This doesn't work: >> >> http://dpaste.com/150650/ >> >> And this does: >> >> http://dpaste.com/150651/ >> >> I don't mind it as long as it works, but I think it would be far more >> convenient if >> >> 1. we didn't have to pass the default value >> 2. we could use the form as usual >> >> But why does it work like this? Is it by design or you simply haven't >> had time to deal with it yet? I'd like to take a stab at it if the >> latter is the case. >> >> >> -- >> Branko Vukelić >> >> http://foxbunny.tumblr.com/ >> http://www.flickr.com/photos/16889...@n04/ >> http://www.twitter.com/foxbunny >> http://github.com/foxbunny >> >> -- >> You received this message because you are subscribed to the Google Groups >> "web.py" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected] <webpy%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/webpy?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
