Forums

ASP

This topic is locked

how can you delete a file on the server with asp

Posted 22 Jan 2003 18:57:38
1
has voted
22 Jan 2003 18:57:38 david j johnson posted:
I have some images on the sever with file names in a database. how do I delete the file when I delete the database record?

Replies

Replied 23 Jan 2003 17:23:07
23 Jan 2003 17:23:07 Stefan P replied:
I messed around with this kind of thing some time ago, if what you're trying to do is the same then you need to use the File System Object. Have a search on the net for this an you should find some leads...

DMX | ASP | VBScript | ACCESS | IIS5
Replied 24 Jan 2003 09:07:37
24 Jan 2003 09:07:37 Martha Graham replied:
Check the File Genie extension here at dmxzone.
You can list files and it comes with a delete component that you can apply.
Also check the online tutorials

Martha Graham

Reply to this topic