Hi, On Wed, Sep 26, 2012 at 8:46 PM, H=E5kan Dahl <hakan.d...@callistaenterprise.se> 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 channelSftp.setBulkRequests(1); 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? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 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
diff
Description: Binary data
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users