gerjan
06-05-2003, 05:51 AM
Hello,
I'm working with the AspUpload component.
I need some advice.
explination website:
Visitors at my website can leave a message behind.
Every visitor is allowed to upload an image with his post.
The image is saved in a virtual folder on my server.
The problem is when the two different images contains the same NAME I can program two things:
- 1. The last image overwrites the first.
- 2. The name of the last image will be changed
1. In the first case I lost the first image, I don't want that.
2. In the second case I lost the name of the last image, so I won't be able to create a path to that image when I want to request that image later!
I thought when I upload the file to a DB instead of a folder I won't have this problem.
But when I does this I don't have the control to delete an image when it's expired.
I also heard there are more negatives against uploading files to a DB like Access.
My question is:
DO YOU HAVE EXPERIENCE WITH UPLOADING A FILE WITH A POST? And you have a solution for these problems or do you have other advice? PLEASE HELP!
Tnx in advange,
Gerjan :)
I'm working with the AspUpload component.
I need some advice.
explination website:
Visitors at my website can leave a message behind.
Every visitor is allowed to upload an image with his post.
The image is saved in a virtual folder on my server.
The problem is when the two different images contains the same NAME I can program two things:
- 1. The last image overwrites the first.
- 2. The name of the last image will be changed
1. In the first case I lost the first image, I don't want that.
2. In the second case I lost the name of the last image, so I won't be able to create a path to that image when I want to request that image later!
I thought when I upload the file to a DB instead of a folder I won't have this problem.
But when I does this I don't have the control to delete an image when it's expired.
I also heard there are more negatives against uploading files to a DB like Access.
My question is:
DO YOU HAVE EXPERIENCE WITH UPLOADING A FILE WITH A POST? And you have a solution for these problems or do you have other advice? PLEASE HELP!
Tnx in advange,
Gerjan :)