-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wget command can be downloaded, but curl command is not downloaded #29
Comments
Hi, have you tried with ftpserver 1.1.4? |
Ok, I'll try👌 By the way, what's the difference between these two versions? |
1.1.2: https://issues.apache.org/jira/projects/FTPSERVER/versions/12340451 I'd just like to know if you still have the issue with a maintained version, in order to investigate it with the latest code base. thanks! |
I just upgraded to 1.1.4
It's a different phenomenon than before,What are the possible reasons? |
Can you check if you have any log on the FtpServer side? More specifically, any log containing the string "Exception during data transfer, closing data connection socket". |
The error message is as follows:
|
Ok, this is clearly not a problem in MINA FTP server code. At some point, when the RETR command is received, the following method is called:
then it tries to open a connection to a remote peer which fails (the top of the stack trace). I suggest you ask the third party (tuya.com) about what's going on there. |
Some question:
|
I am an employee of tuya.com and am trying to set up an ftp service using FTP-server I'll keep trying to figure out what caused it Whether wget enters epsv mode and curl defaults to pasv mode |
Ok, so can you provide the code associated with om.tuya.sftp.protocol.gateway.service.protocol.command.RetrCommand? |
I made a preliminary determination that curl went to epsv mode by default.
When I use wget, pasv mode works fine
my ftp-server code as follows:
my RetrCommand as follows:
The key code is: |
One way to cheat is: Through what configuration can the client only go to PASV mode |
@sanshengshui the diff I see is that curl uses ESPV while wget uses PASV. Is that a IPV6 connection? |
IPV4 connection |
As follows:
pom.xml:
The text was updated successfully, but these errors were encountered: