Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

delete zip file

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a page that allows users to upload a zip file to the server. To save space I want to delete it once it has been unzipped. Can anyone tell me how to do this?
Thank you david
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The java.io.File class has a delete method.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!