|
| Product |
| FileUp |
| Version |
| 2.x |
| Title |
| HOWTO: Checking Existence and Renaming Upon Upload |
| Problem |
| I want to preserve the original filename supplied by the user when
uploading, but I also want to check to see if the file already exists in my
upload directory. If it does exist, I want to give the user the chance to
rename the file or cancel the upload. |
| Solution |
This is a commonly requested function. While simple on the surface, it often
is tricky in practice because of the stateless, page-based nature of the
Web.
Download the attachment for a sample of this functionality.
It consists of a few ASP pages that illustrate how to do this. The starting
page should be renform.asp. |
| Attachments |
Attachments/KB23_renform.zip
|
| Created : 12/1/2002 12:00:00 AM (last modified : 11/4/2002 10:49:24 AM) |