This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jscape getfilesize()

 
sup rty
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The getfilesize() of jscape function failing. It is not returning the file size in few cases.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34371
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
supratimC chakraborty wrote:The getfilesize() of jscape function failing. It is not returning the file size in few cases.

And? Are you asking how to file a bug report? Or would you like to share some sample code or describe the scenario in which doesn't work?
 
sup rty
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,
JScape because we are using a JScape third party tool there, also for SFTP.


We have a function like this:

in uploadFile(DeliveryFileBean file) the getFilesize() function fails.
only sometimes and we have a strong suspicion that this is only when the destination server is Windows server and not Unix.
Kindly let me know if you have any idea reagrding the same.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic