[thelist] Hmmm... ASPSimpleUpload | Delete?

Christopher Mahan chris_mahan at yahoo.com
Fri Oct 1 17:26:46 CDT 2004


use the filesystemobject 
filepath ="d:\somepath\file.txt"
set fso=server.createobject("scripting.filesystemobject")
if fso.fileexists(filepath) then
  fso.deletefile(filepath,true)
end if


--- Rob Smith <rob.smith at THERMON.com> wrote:

> Hi list,
> 
> Call it lack of vision. Now that I've got this wonderful little web
> app
> working with ASPSimpleUpload, finding out paths, storing the files
> correctly
> while removing the risks for overwriting files with checking file
> names,
> getting file names, getting names of the people who submitted these
> documents, displaying file sizes.
> 
> I'm now confronted with the issue, "What if they hit the delete
> button?"
> 
> Or in other words, how do you make a web page send a request to
> delete a
> file off the web server? Granted I have 73 GB of room to play with,
> but I
> want to stop this monster before it starts.
> 
> Rob
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 


=====
Chris Mahan
818.943.1850 cell
chris_mahan at yahoo.com
chris.mahan at gmail.com
http://www.christophermahan.com/


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the thelist mailing list