Using passive mode, it seems that it has not been converted to data connection
gitboy9 opened this issue · comments
my code is like this:
FTPClientSession session("hostip");
session.login("username", "passwd");
session.sendCommand("EPSV", respose);
session.setPassive(true);
session.sendCommand("RETR test.txt", respose);
the response returned message is that’ 425 Can't open data connection for transfer of "/test.txt"‘
So I'm very curious because it's written in the constructor that passive mode will be converted to data connection.
And I want to implement the breakpoint continuation function, but I have looked at all the FTP APIs and have not directly implemented the breakpoint continuation API, so I want to adopt the method of directly sending commands to implement it