I tested the patch and it seems to work well (10/10 sucessful file
transfers while 0.1.48 gave 1/10 successful).
On Thu, Sep 27, 2012 at 6:47 AM, Atsuhiko Yamanaka <ymnk@...> wrote:
> On Wed, Sep 26, 2012 at 8:46 PM, Håkan Dahl
> <hakan.dahl@...> wrote:
> > the new 0.1.48 feature with multiple requests for ChannelSftp#get(String
> > src) seems to have introduced a problem:
> > When doing SFTP get for files with size ~1Mb I can see that the files are
> > (sometimes) corrupted.
> > For a file ~1MB I often get multiple rows in the std-err log like:
> > "The request is not in order."
> > The SFTP-server in this case is CompleteFTP v3.2.1/Windows 2003R2.
> > The problem does not appear when running client with Jsch-0.1.44 or from
> > SFTP-cmdline (OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010).
> I don't know about "CompleteFTP v3.2.1/Windows 2003R2",
> but the problem exits in it, IMHO.
> To work around that problem, you can invoke
> And, I agree that it should work by the default,
> so the attached patch may be applied to the next version.
> could you try that patch?
> Atsuhiko Yamanaka
> 1-14-20 HONCHO AOBA-KU,
> SENDAI, MIYAGI 980-0014 Japan.
> Tel +81-22-723-2150
> Skype callto://jcraft/
> Twitter: http://twitter.com/ymnk
> Facebook: http://facebook.com/aymnk
Callista Enterprise AB
Mobil: +46 (0)733-51 91 75