deleting corrupted zip file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   hina_sarwar
Posted On:   Wednesday, January 1, 2003 11:57 AM

I m zipping a file, n then encrypt that file with a key. if the file is decrypted with the wrong key then it create a corrupted zip file which i was trying to delete with java's file class' delete method but failed to do that (it always return false n didnt delete the file without any error). plz tell me how i can delete that corrupted zip file in java.
waiting for ur reply plz tell me
hina

Re: deleting corrupted zip file

Posted By:   Gautam_Marwaha  
Posted On:   Thursday, January 2, 2003 12:42 AM

make sure you have closed all streams (input/output) BEFORE attempting to delete the file.
About | Sitemap | Contact