You can set SQLField('name','upload',uploadfield=False) and deal with
the upload manually

form=SQLFROMF(db.table)
if form.accepts(request.vars):
    open('whatever','w').write(request.vars.filefield.read())
    db(db.table.id==form.vars.id).update_record(name='whetever')

On Nov 5, 5:46 am, "Phyo Arkar" <[EMAIL PROTECTED]> wrote:
> Dear massimo and pals;
>
> Is there anyway to customize upload field   , its rename action?
> I would need my uploaded files to go at place , not on upload folder also to
> rename in human readable format.
>
> Regards,
>
> Phyo.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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