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

Java Doc FTPClient setControlKeepAliveTimeout() wrong comment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Invalid
    • 3.6
    • None
    • FTP
    • None

    Description

      In the java doc of the class FTPClient (head) is following line:

      {{ ftpClient.setControlKeepAliveTimeout(300); // set timeout to 5 minutes }}

      But the parameter timeout is in milliseconds, so 5 minutes are 300.000 milliseconds.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jiramuellerdm Dieter Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: