Hi Atsuhiko, You are correct, removing those lines does resolve the transfer issues with ProFTPd.
Without those lines, the uploads are successful. The bulk request default setting seems to be working fine (no change from default required) and the SFTPClientMatch setting in ProFTPD doesn't seem to have any affect, at least on the files I'm testing with. What are the implications of removing this conditional break statement? // if (this.rwsize >= foo) // break; Does this affect the efficiency or are there other compatibility concerns with other servers by not having this setup? Regards, Erick Lichtas -----Original Message----- From: Atsuhiko Yamanaka [mailto:y...@jcraft.com] Sent: Friday, October 11, 2013 2:49 AM To: Erick Lichtas Cc: jsch-users@lists.sourceforge.net Subject: Re: [JSch-users] Issues uploading to ProFTPd with mod_sftp Hi, +-From: Erick Lichtas <elich...@linoma.com> -- |_Date: Thu, 10 Oct 2013 19:21:51 +0000 ______ | |So going back to the differences between 0.1.44 and 0.1.49, |the block of code that is causing the failure with ProFTPd is |the following section from the _put(...) method in ChannelSftp: Could you try to comment two lines out as follows? | int foo = count; | while (foo > 0) { | if ((seq - 1) == startid | || ((seq - startid) - ackcount) >= bulk_requests) { | while (((seq - startid) - ackcount) >= bulk_requests) { | // if (this.rwsize >= foo) // !! // break; // !! | | if (checkStatus(ackid, header)) { | int _ackid = ackid[0]; ... By the way, does OpenSSH's sftp command have a similar problem with the following configuration? SFTPClientMatch ".*OpenSSH.*" channelWindowSize 1GB 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 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users