Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-477

Request: Add option to force listing of hidden files

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • Core

    Description

      Currently, unless the "-a" argument is passed with the LIST, NLST, or MLSD commands, hidden files are hidden from the connected client.

      This prevents folders containing hidden files from being deleted when using FTP clients such as Filezilla with the default settings.

      Ideally, you should be able to override this, and force hidden files to always be displayed (like most other FTP servers).

      Possibly something like the following:
      > BaseUser user = new BaseUser();
      > user.setShowHiddenFiles(true);

      Currently, a visible file filter is hardcoded to be called if the "-a" argument isn't present, in core/src/main/java/org/apache/ftpserver/command/impl/listing/DirectoryLister.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            NextGenDan Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: