[ 
https://issues.apache.org/jira/browse/NET-649?focusedWorklogId=236290&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-236290
 ]

ASF GitHub Bot logged work on NET-649:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/May/19 13:54
            Start Date: 02/May/19 13:54
    Worklog Time Spent: 10m 
      Work Description: fbrissi commented on pull request #28: [NET-649] 227 
Entering Passive Mode
URL: https://github.com/apache/commons-net/pull/28
 
 
   In a situation where I passed, the FTP server is restoring 227 Entering 
Passive Mode (0,0,0,0,156,126), so it was obvious to me that the problem is on 
the server side and not on the API, but using the File Zila client and analyze 
the log precebi that the same problem was also happening, so he changed the 
route to use the IP of the server that returned this information and thus 
manages to make the route correctly.
   
   So I made a similar implementation so that when the server returns IP 
0,0,0,0 use the same IP used to connect to the server. I'm not sure if it's 
necessary to validate anything beyond "0,0,0,0" because it's the first time I 
see a situation like this, I'm not sure if the server could return another 
invalid IP.
   
   I did not create a test for this case because I do not know how to force it 
to happen, since it only occurred on a private server that I am using. This is 
a workaround I've solved, and I'm helping to get you into future versions.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 236290)
    Time Spent: 20m  (was: 10m)

> 227 Entering Passive Mode
> -------------------------
>
>                 Key: NET-649
>                 URL: https://issues.apache.org/jira/browse/NET-649
>             Project: Commons Net
>          Issue Type: New Feature
>          Components: FTP
>    Affects Versions: 3.6
>         Environment: Fedora, Java 8
>            Reporter: Filipe Bojikian Rissi
>            Priority: Major
>             Fix For: 3.7
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In a situation where I passed, the FTP server is restoring 227 Entering 
> Passive Mode (0,0,0,0,156,126), so it was obvious to me that the problem is 
> on the server side and not on the API, but using the File Zila client and 
> analyze the log precebi that the same problem was also happening, so he 
> changed the route to use the IP of the server that returned this information 
> and thus manages to make the route correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to