Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python 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!