>
> web2py does not like to delete files unless it is told to do so. You can do
>
> Field('avatar','upload',autodelete=True)
>
> This should work as you expect.
>I could be wrong, but if I recall correctly, autodelete only deletes the file when the record is deleted, but not when the record is merely updated with a new file. It should probably do both. Anthony

