How do i change Attachmets name to fixed name after creating if from file named with guid ?
Attachment.Filename property is read only.
I guess that sort of rules out naming the file after a guid. You could
create a folder named after the session id, or a guid (overkill), and put
the uploaded file there. Then at least you have isolated the users from
each other and don't have the same concurrency problem. From here it will
be a simple matter of checking if the user already has uploaded a file with
the same name and use some naming conventions for duplicates.
/Hugo