Forums

ASP

This topic is locked

Renaming file on upload

Posted 25 Jan 2008 13:38:39
1
has voted
25 Jan 2008 13:38:39 Andy Clegg posted:
Hi,
I am using the Smart image processor extension along with rename files on upload.
The upload an rename file works fine most of the time.
However, if the user tries to upload a file with the same name as a file already on the server an error occurs.

I know that this must some sort of conflict.
Is there a way to cancel the rename if the original file has the same name as the one being uploaded? - We still need to upoad and re-size, just replace the existing file.

File not found

E:\ WEB SITE\../ScriptLibrary/incPUAddOn.asp, line 173



Exception occurred.

/iisHelp/common/500-100.asp, line 223


Thanks

andy

Reply to this topic