FTP over SSL – Data channel port range change does not take affect until restarting the FTP Service

This post has been republished via RSS; it originally appeared at: IIS Support Blog articles.

PROBLEM

 

Consider the following scenario:

 

  • You are setting up FTP over SSL in IIS.
  • You modify the data channel port range and configure your firewall to allow the traffic in the port range.
  • When you try to use FTP over SSL you get "could not retrieve directory listing" error message.

 

CAUSE

 

One of the reasons for this is that the data channel port range changes does not take affect until you restart the Microsoft FTP Service.

 

RESOLUTION

 

You need to restart the Microsoft FTP Service for the changes in the data channel port range to take affect. Restarting the IIS services (e.g.: using IISRESET command, which is not recommended) is not enough.

 

Happy troubleshooting...

 

--
AMB

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.