File Upload : Overwrite existing

2005 June 22 at 22:21 » Tagged as :

Often we are asked whether it's possible to prevent Rad Upload from overwriting existing files on the server. The answer is indeed yes.

Having said that, in HTTP file uploads the client has little say in where the file is to be saved or whether an existing file is overwritten. All that is controlled by the server side handler script. All you need to do to prevent a file being overwritten is to add a simple comparion, for example with PHP it is: