On Sep 17, 3:29 am, mdipierro <[email protected]> wrote: > db.table.field.uploadfolder=os.path.join(request.folder,"uploads/ > somewhere")
I've tested it & it works as-advertised, thankyou :) A further enhancement I'd like to see is to be able to specify the filename in the form of: subfolder/name instead of table.field.name This would mean that I can have a folderful of standard icons for GIS markers all with their default names & folders - much tidier. I see that the table.field.name construct for field.retrieve happens in globals.py's download() & field.store happens in sqlhtml.py's SQLFORM.accepts() Would you accept a patch which stored in the format I specified if db.table.field.uploadfolder is specified? Or should we add a separate flag to make these 2 functionalities independent? Best Wishes, Fran. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

