I would just add a checkbox to the upload form and use the value to
conditionally mkdir

On Feb 10, 5:05 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> On Feb 9, 2010, at 11:32 PM, mdipierro wrote:
>
> > I had not understood. This is not about upgrading web2py but about
> > upgrading an app. The fact is it is not safe to unpack an up if one
> > with the same name exists. How do you know it is the same? Right now
> > it simply does not allow that, it wants you uninstall first. I guess
> > we override this check but first we need ask the user "overwrite?"
>
> At the very least, the flash ought to be more helpful in this case:
>
> OSError: [Errno 17] File exists: 'xxx'
>
> But overriding would be nice. Is there an existing example of that kind of 
> user interaction?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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