• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3485
  • Last Modified:

FTP 7.5 Could not retrieve directory listing Server cannot accept argument.

I am trying to deploy ftp 7.5 with SSL.

SSL is configured with (microsoft) self-signed SSL certificate.  IIS/FTP Server is in DMZ with NAT IP for internet.

From the internal network I can use WinSCP (passive mode) to connect over SSL, but from the outside I get the dreaded "Could not retrieve directory listing.  Server cannot accept argument."
If I disable SSL on the FTP server I can connect and browse the FTP site from the internet.

For testing purposes my CISCO ASA is allowing all IP from my Home computer (only) so I don't think the ASA is the problem.

Per the windows firewall, I have added the "netsh" commands to allow secure FTP over SSL (FTPS) traffic.

Anyone had success getting SSL to work from external IP addresses?
1 Solution
u need to reconfigure your ASA ASDM to run on a different port i think. ASDM by default is running on port 443. when u have changed the asdm port and reconnected, then u can add a nat rule to forward port 443 in to your server to allow your ssl encrypted ftp.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now