|
| |
|
|
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
|
|
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
|
|
|