• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Google Cloud Ubuntu 16.04 proftp Failed to retrieve directory listing

devel

New Pleskian
So i have a fresh installation of plesk on google cloud vm that was installed by using template provided by google and after the installation ftp is not working, I get Failed to retrieve directory listing, tryed changing active and passive mode on fillezila, tryed changing configuration, ports are open, dunno what to do, any ideas?

Logs seems clean, if you need any specific one, i can give it.
Tried:
How to configure a passive ports range for ProFTPd on a server behind a firewall - no luck
 
Last edited:
Your Filezilla FTP-client needs to be set on passive
You also need to open up ports on the server. I never saw that tutorial, but have always done it like method #2.

I think the tutorial can be a bit simpler.
I did it like this:

  • Add a file /etc/proftpd.d/passive-ftp.conf
  • Open up that same range in your firewall
  • Use Passive FTP in your clients
cat /etc/proftpd.d/passive-ftp.conf
Code:
# Global section
PassivePorts 49152 49852

iptables-save | grep 49152
Code:
-A INPUT -p tcp -m tcp --dport 49152:49852 -j ACCEPT

With Filezilla you also need to turn off forced TLS.

Every 2 months I get a call from someone with those symptoms and it's always solved by turning on passive FTP on the client
 
Back
Top