Hi Elise, Can you try doing the same listings using openssh or another implementation of SFTP? Does it still take a long time?
This will help identify if the problem is in JSch or somewhere else Thanks, Keith Richardson Sent from my iPhone > On 13 במאי 2014, at 10:51 לפנה״צ, Elise Atkins <elise.atk...@tavve.com> wrote: > > I have been using jsch's sftp functions to get directory listings on a > server in the same subnet. I have noticed that when the number of files > is large the directory listing can take longer then expected. As an > example if the number of files is 15,000 it can take 8-10 seconds to > return the listing. In addition just doing a listing with a filename (no > wildcards) takes almost the same amount of time. > > Have you seen this behavior before and is there a solution to improve > the speed when a directory contains a large number of files? > > Elise > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > JSch-users mailing list > JSch-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jsch-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users