On Wed, 7 Apr 2004, Rami Ojares <[EMAIL PROTECTED]> wrote: >> What we need now, are docs. > > Yep, I think also Jsch would need some docs and an API that does not > need one to write bytes by hand but that is another story.
True. > I can help of course with the docs (but slowly :) A patch that describes the verbose attribute to docs/manual/OptionalTasks/scp.html would be a good start ;-) >> <get> will print lines of dots each line taking up to 50 columns. > > So it prints one dot for every 100KB. Yes, I somehow missed the "100 *" outside of the loop. > And the way they end up on the same line is that only 50*100KB is > read it flushes. Meaning that user does not see the dots coming one > by one but in chunk of 50 ( = 50 * 100KB) It specifically writes to System.out in order to avoid that, but I think we've tightened up the logging system so that it really gets buffered until the explicit flush has been called. > Anyway here is a smarter version of method trackProgress() > This will output 2 lines for any size file and give visual cue about > progress quite well. Try it! Will do. Thanks Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]