View Single Post
  #3 (permalink)  
Old 08-04-2007, 11:01 PM
Nite Nite is offline
Member
 
Join Date: Aug 2007
Posts: 2
Nite is on a distinguished road
the program didnt enter into the while loops, that was because of the available method, probably the two process didnt sync... anyway i solved in this way :

int length;
byte[] buffer = new byte[4096];
while((length = fis.read(buffer)) != -1){

out.write(buffer, 0, length);
}

and now it works, thanks anyway
Reply With Quote