Cannot login FTP

Hi,
Fresh install virtualmin and create virtual server and user for FTP then i am struggling on FTP login.
Here are the logs

Status:      	Resolving address of example.com
Status:      	Connecting to XXX.XXX.XXX.XXX:XXX...
Status:      	Connection established, waiting for welcome message...
Status:      	Initializing TLS...
Status:      	Verifying certificate...
Status:      	TLS connection established.
Status:      	Logged in
Status:      	Retrieving directory listing...
Command:	PWD
Response: 	257 "/" is the current directory
Command:	TYPE I
Response: 	200 Type set to I
Command:	PASV
Response: 	227 Entering Passive Mode (XXX,XXX,XXX,XXX,XXX,XXX).
Command:	MLSD
Response: 	150 Opening BINARY mode data connection for MLSD
Response: 	425 Unable to build data connection: Operation not permitted
Error:        	Failed to retrieve directory listing
Status:      	Connection closed by server

Please kindly help

If I recall it correctly, its a bug which can be fixed with this command:

TLSOptions NoSessionReuseRequired

Make sure to restart proftpd after that.

Hi, thank you for fast response.
Where should i execute the command?
Sorry in advance, i am new to this.

It needs to be placed inside the proftp config. Preferably inside the tls part of it (or inside the tls config if its loaded external).

Hi,
I think it’s already set

AllowOverwrite on
    <Limit ALL SITE_CHMOD>
        AllowAll
    </Limit>
AccessGrantMsg "Welcome to GMI"
<Limit TLSOptions NoSessionReuseRequired>
</Limit>

Any other ideas?

Success!
I tried to edit proftpd (virtualmin) config and works!
Thank you @DrCarsonBeckett

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.