Skip to content

Conversation

@fbrissi
Copy link
Contributor

@fbrissi fbrissi commented Jan 8, 2018

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.

fbrissi and others added 3 commits January 8, 2018 08:41
…ting IP with 0,0,0,0, so it was not possible to find the route and the connection is refused. So in those cases use the IP of the original connection, just like other FTP clients do.
@markt-asf markt-asf closed this May 1, 2019
@fbrissi
Copy link
Contributor Author

fbrissi commented May 2, 2019

Hi @markt-asf, I would like to know if they do not consider relevant, or if there is any problem in the solution I have not seen.

@markt-asf
Copy link
Contributor

The PR was against trunk
The trunk branch was deleted as all Commons projects use maser in preference to trunk. That automatically closed all PRs against trunk.
I'll re-open this but you'll need to modify the PR to be against master rather than trunk.

@markt-asf markt-asf reopened this May 2, 2019
@fbrissi fbrissi changed the base branch from trunk to master May 2, 2019 14:12
@fbrissi
Copy link
Contributor Author

fbrissi commented May 2, 2019

The PR was against trunk
The trunk branch was deleted as all Commons projects use maser in preference to trunk. That automatically closed all PRs against trunk.
I'll re-open this but you'll need to modify the PR to be against master rather than trunk.

Right, I synced my fork, and reallocated it, thank you.

@sebbASF sebbASF merged commit 78eb940 into apache:master Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants