Windows – FTP server | Filezilla | windows server

ftpwindows

I have a windows 2012 server running Filezilla server for FTP. I have setup the server with a user which has a directory set to home dir.

See picture to see setup:

However, when I connect to the FTP – it connects fine, but displays this error and does not allow me to see the directory:

Status: Retrieving directory listing...
Command:    PASV
Response:   227 Entering Passive Mode (145,3,82,63,196,41)
Command:    MLSD
Response:   425 Can't open data connection for transfer of "/"
Error:  Failed to retrieve directory listing

Anyone can help?

Best Answer

Based on the log you show you have a firewall blocking your connection or you did not fully forward/open all ports.

Response:   227 Entering Passive Mode (185,7,81,67,196,41)
Response:   425 Can't open data connection for transfer of "/"

You can see here that the client is entering passive mode on port 50218. You most likely did not forward this port and most likely not the entire configured passive range.

According to the FileZilla wiki you can see the port range under FileZilla Server Options and then Passive mode settings. Be sure to open/forward the ports listed here.