Forums

ASP

This topic is locked

ASPUpload: Multiple Records with 1 file uploaded?

Posted 01 Mar 2003 02:24:26
1
has voted
01 Mar 2003 02:24:26 chris espino posted:
Here's the problem, my users tend to upload a file not verifying if the file is already on the server.

ONce they upload a file, the file overwrites the old one on the server, the database gets a new entry with description.

so, if I search by filename, I get multiple desciptions returned, with 1 kind of filename.

what's the best way to do an error check to avoid multiple records created?

The only fix from my end is to search the descriptions and delete the oldest record on the description, keep the latest description.


thanks in advance!

Reply to this topic