Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FileInputStream Not Working  RSS feed

 
Sri Jad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,

I have the following code.


Its printing Yes(that means file exists ) and Available..0(that means number of bytes that can be read from this file input stream ).How is this possible?? Is FileInputStream not working properly??? Some one please suggest me if I am missing some thing..

Thanks In Advance

Sri
 
Sri Jad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved..problem is that the file is corrupted
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!