• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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