Atsuhiko, Any luck reproducing this issue? The SFTP server we are trying to pull files from in a GlobalScape EFT server version 5.1.34. I found an archive of similar John's original GlobalScape issue from 2007 (http://www.mail-archive.com/jsch-users@lists.sourceforge.net/msg00178.html). Is the fix mentioned in that email acceptable? In your response, you mentioned changing the max packet size to (256*1024) in the next release (0.1.36 was being discussed). In the current release, the max packet size is still 32768. Was there an issue with upping the size?
John, Has the change you made (removing the (j>32768-4) test from the if statement) caused any unforeseen problems? Thanks, Mark -----Original Message----- From: Stote, John (RBC Dexia IS) [mailto:john.st...@rbcdexia.com] Sent: Wednesday, June 10, 2009 2:36 AM To: Atsuhiko Yamanaka; Stuppy,Mark Cc: jsch-users@lists.sourceforge.net Subject: RE: [JSch-users] IOException from sftpChannel.ls(".") on largedirectory This looks similar to the bug I had a while back, it is to do with packet lengths. I don't have a copy of my original report but it was a couple of versions back -----Original Message----- From: Atsuhiko Yamanaka [mailto:y...@jcraft.com] Sent: 2009, June, 10 11:06 AM To: mstu...@cerner.com Cc: jsch-users@lists.sourceforge.net Subject: Re: [JSch-users] IOException from sftpChannel.ls(".") on largedirectory Hi, +-From: "Stuppy,Mark" <mstu...@cerner.com> -- |_Date: Mon, 8 Jun 2009 15:04:01 -0500 ______ | |We are using Jsch (0.1.41) to list and retrieve all files in an FTP |directory. This directory contains ~930 files, totally over 6 gigabtyes. |When it gets to the "ls" command, an IOException is thrown: |Caused by: 4: | at com.jcraft.jsch.ChannelSftp.ls(ChannelSftp.java:1344) | ... 11 more |Caused by: java.io.IOException: inputstream is closed | at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java:2327) | at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java:2351) | at com.jcraft.jsch.ChannelSftp.ls(ChannelSftp.java:1245) Thank you for your feedback. I'll try to reproduce such a problem by myself, and find what has happed. 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/ ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users ____________________________________ This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient(s) is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately and delete this e-mail. The contents of any attachment to this e-mail may contain software viruses or other defect which might affect your own computer system once received or opened. While companies under RBC Dexia Investor Services Trust and its affiliates take reasonable precautions to minimize that risk, we cannot accept liability or responsibility for any damage or loss which may occur or be sustained as a result of a software virus or other defect. You are responsible for virus checks before opening any attachment. ---------------------------------------------------------------------- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users