Hi,

   +-From: =?ISO-8859-1?Q?H=E5kan_Dahl?= <hakan.d...@callistaenterprise.se> --
   |_Date: Tue, 7 Jun 2011 13:00:35 +0200 ____________________________________
   |
   |When investigating why SFTP file transfers (get) from a particular server
   |(5.0.3.13 SSH Tectia Server) are very slow I found that the server responds
   |with a remote package size of only 4096 bytes in
   |the SSH_MSG_CHANNEL_OPEN_CONFIRMATION message (remote window size: 65536).
   |The remote packet size is then used in ChannelSftp.read() as the size of
   |packets requested with SSH_FXP_READ.

There should be no relation between "max packet size" given by 
SSH_MSG_CHANNEL_OPEN_CONFIRMATION and get operations.  It must be a bug.
That value should be referred in file uploading with SSH_MSG_CHANNEL_DATA 
messages.

Could you try the following version,
  http://www.jcraft.com/jsch/jsch-0.1.45-rc5.zip


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to