Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-161

Minimize using of LIST command in the FTP provider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0
    • None
    • None

    Description

      I have a big bis storage of files (about 10 TBytes).
      Path to file looks like /storage/storage1/node1/76423fds7g78df6gdf7hdfh/2384dg7sdfg8dfh.dat
      Existance checking and deleteing of files takes very looooooooong time because of LIST command:
      LIST /storage
      ...
      LIST /storage/storage1
      ...
      LIST /storage/storage1/node1
      ....
      LIST /storage/storage1/node1/76423fds7g78df6gdf7hdfh

      and so on.

      For example, there is no need to perform LIST command to delete file. I`m using FTPClients from commons.net and it works 1000x faster.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alex_crane Alex Crane
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: