Hello,

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)
        ... 12 more

Has anyone else experienced problems like this?

As a side note, when using "sftp" from the Linux command line, I can list the 
directory contents without a problem, however it does log the following:

sftp> ls .
channel 0: rcvd big packet 73695, maxpack 32768
channel 0: rcvd big packet 61260, maxpack 32768
.....


Mark Stuppy

----------------------------------------------------------------------
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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to