Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-823

Retrieving a directy listing of a directory containing a large number of files is very slow.

    XMLWordPrintableJSON

    Details

      Description

      Retrieving a directy listing of a directory containing a large number of files is very slow.

      The method SftpSubSystem.doReaddir() uses a fixed maximum packet size of the returned SSH_FXP_NAME packets of 16*1024 bytes. Defined by the constant DEFAULT_MAX_READDIR_DATA_SIZE. It is possible to override this constant by setting the property MAX_READDIR_DATA_SIZE_PROP for that session.

      Would it not be better to dynamicly calculate the maximum SSH_FXP_NAME packet size based on MAX_PACKET_SIZE?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mark.ebbers Mark Ebbers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: