The renaming function itself is not exposed but it is part of the
Field.store() method in sql.py

On Sep 5, 9:01 pm, weheh <[email protected]> wrote:
> Is there a way to access the file renaming function that creates
> random filenames in the uploads directory? I have a nice python
> routine of my own that does this from a website I developed a few
> years ago, but if there's a built-in routine in web2py I think I'd
> rather use that. Also, is there an argument to control the number of
> random characters to be used in the filename? This is also something
> my old routine does.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to