Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4448764

FtpClient will not operate correctly with server located on the same host

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs
    • generic
    • generic



      Name: krC82822 Date: 04/20/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


      Although it may seem pointless to use FTP to connect to a server on the same
      host, it would be useful for testing applications.

      The problem seems to be with the IP address that FtpClient puts in the "PORT"
      command. Should it perhaps be modified to 127.0.0.1 when the server is on the
      localhost??
      (Review ID: 121113)
      ======================================================================

            jccollet Jean-Christophe Collet (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: