navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Using ASP to Delete Files

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Using ASP to Delete Files
Page: [1]
 
evansforsyth

 

Posts: 277
Joined: 12/11/2001
From: Grande Prairie, Alberta, Canada
Status: offline

 
Using ASP to Delete Files - 4/22/2002 12:22:24   
Maybe ASP can't do this!

No problem--using ASP and DRW with simple custom SQL to delete a database record.

However, one of the fields in the database has the name of a graphics file that was uploaded using FrontPages's File Upload component (so the full "http://" path is available). Is there ASP code (or whatever) that would automatically delete the graphics file when the database record is deleted?

The site is http://www.abfind.com/grande_prairie_cars/maintenance.asp and some data is available using:

password: test
username: test

Thanks!

Evans

rdouglass

 

Posts: 9205
From: Biddeford, ME USA
Status: offline

 
RE: Using ASP to Delete Files - 4/22/2002 14:27:23   
If your host is Win NT/2K and you have the appropriate permissions, you should be able to use FileSystemObjects. The following link talks about manipulating .txt files, but any file could be used...

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q300982

 

(in reply to evansforsyth)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Using ASP to Delete Files
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts