When a file gets uploaded to the temporary folder its name is changed to ensure that it is unique. However the file gets copied to the TargetFolder with its original name. If two people upload files with the same name at the same time then the latter will overwrite the former. How can I ensure that each file in the TargetFolder will be unique so as to prevent collisions?