aspose file tools*
The moose likes JSP and the fly likes delete zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "delete zip file" Watch "delete zip file" New topic
Author

delete zip file

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
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

Joined: Mar 22, 2000
Posts: 12781
    
    5
The java.io.File class has a delete method.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: delete zip file