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?

  • Why you don't use the windows integrated FTP Server? Via IIS-Manager Role? With this you can easy set up rulesets and filerights. – frupfrup Nov 26 '14 at 11:27
  • I dont like it, having to setup a windows user for each ftp user. Opens up too many cans of worms – James Nov 26 '14 at 11:28

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.


Configure Filezilla server with a predefined passive ports range, add those ports to the firewall in your router and assign virtual server allowing communication.

add port 990 and 21 or the port you decided to use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.