IIS7 FTP Issues

27. June 2009

I was installing IIS7 FTP on a server, and I ran into a couple of problems connecting with FileZilla. I am really posting this for archive purposes, but perhaps someone will get some use out of it.

I used the following articles to set up my ftp:


After those installations, I ran into these issues:

530 Valid Hostname is expected
I first encountered this. I found that when you log in by default, the site name is normal (ex: ftp.whatever.com), but the username should be site|username (ex: ftp.whatever.com|myUser). The reasoning behind all of it resides in the link; IIS7 wants full hostname in with the username to discern the site to use.

150 Opening BINARY mode data connection failure
This was the second issue I ran into. I found out pretty quickly that it is because of the Windows Firewall, but it took a while to find the command to open the dynamic port range.

netsh advfirewall set global StatefulFtp enable

I ran that command which tells the Windows Firewall to open up dynamic ports as needed. It all worked great from there. Note: I first opened port 21 for general ftp.



Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

IIS7 , ,