Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Can I Remove A File From A Directory With ASP?

Status
Not open for further replies.

sgore

Programmer
Jul 22, 2001
30
CA
I have an image database in which an image name is stored in the database. I would like to be able to remove the actual file when I remove the record from the database.

Any ideas on how to remove files from a directory using ASP?
 
use the code above, but before deleting check image file attributes. if it's read-only, you won't be able to delete it. remove read-only and then delete it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top