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

_openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: FTP
    • Labels:
      None
    • Environment:

      All

      Description

      Currently _storeFile, __storeStream, and _openConnection are declared as private and only receive int commands. I am trying to extend the FTPClient class to implement specialized commands that utilize these methods. In order for this to work I need to have these methods declared as protected as well as adjust the parameters to allow for String commands.

        Attachments

        1. retrievefile.patch
          6 kB
          Steven Jardine
        2. patch.txt
          3 kB
          Steven Jardine

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sjardine Steven Jardine
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: