[thelist] Deleting Files off Web Server
Michele Foster
michele at wordpro.on.ca
Thu Aug 9 19:13:51 CDT 2001
Hi Folks ..
I'm toying with an idea here and wondered if anyone has done this, or if I'm
just in dream land even thinking about it.
The problem: when products are deleted from the database their associated
image files (one large, one small) are not and remain on the web server
taking up space. Currently I FTP into my host and delete the files (when I
remember and when I know the product was even deleted).
Any ideas on a way I can do this in ASP? Essentially, when a product is
deleted from the database and if it has a picture (not all products do), the
two files that are on the web server should also be deleted. File names are
related to the product ID, so that is not a problem.
Thanks in advance for any suggestions.
Michele
More information about the thelist
mailing list