• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Zip question

 
Max Power
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, i have written a small program that extracts zipfiles. but somehow this only works with some zipfiles. somtimes i am getting a filenotfoundexception at the commented line?! why that? here is the code:



whats wrong with the code?


THANKS :-)
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo Andreas,

I tried to check your code, but I did not find any problem with it.

When does it throw the FileNotFoundException?
Which paramters did you enter?
What is the value of the p parameter?
Is it possible that some other process is locking the file indicated by p while your unzip program tries to open it?
 
Max Power
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i rewrote the program and now it works....thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic