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

Bug in documentation for FTPClient

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: FTP
    • Labels:
      None
    • Environment:

      Documentation on Apache web site

      Description

      In the Documentation for FTPClient there are some examples
      One is
      FTPClient f = new FTPClient();
      f.connect(server);
      f.login(username, password);
      FTPFile[] files = listFiles(directory);

      There is a typo on the last line.

      It should be f.listFiles(directory);

      Rating this as Minior as any decent Java programmer should work it out.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rjhtech Roger Hardiman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified