Tools
Serv-U showing the error Could not retrieve directory listing
This article provides information on what to check when you encounter the error "Could not retrieve directory listing".
First published date
Last published date
Overview
The error below appears when the passive ports are blocked in the network firewall or not configured in Serv-U and it can be both. Please follow the resolution below to see if it's properly configured.
Could not retrieve directory listing.
Product section
Cause
Resolution
- Open your Serv-U Management Console and go to the Server Settings tab under Server Limits & Settings. (Do not go to your Domain-level Limits & Settings.)
- Scroll down to Network Settings panel. Fill in a value for the "PASV Port Range". (We recommend starting with 50000-50049; you can use a narrower port range if you never hit simultaneous transfers; use a wider port range if you support more simultaneous transfers).
- Click Save in the Network Settings panel.
- To test, connect to Serv-U using an FTP client that is set up to use passive mode. Connect to the server from outside your firewall, attempt several directory listings and transfers, and make sure passive transfers work.
-
Note: Make sure that you also open the passive ports on your network firewall.