Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-119

[net] allow listing of hidden files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      37401

      Description

      Some ftp server hide files from their users.
      You can view them by issuing a "LIST -a" command.

      I propose to add the method

      FTPClient.setListHiddenFiles(boolean listHiddenFiles)

      and if it is set to add a " -a" in to the list command in method
      FTPClient.listFiles(FTPFileListParser parser, String pathname)

      I'll prepare a patch if there is consens.

      Thanks to Sylvain Perez for pointing this out.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mario@ops.co.at Mario Ivankovits
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: