Author Topic: Directory listing in FTP gives timeout  (Read 32205 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Directory listing in FTP gives timeout
« on: June 27, 2018, 04:48:59 PM »
I am host a website in the server with Cent OS and used CWP as the web hosting software. The website is working fine. I noticed that when listing the files in server through FTP i get the timeout most of the time. The error received in Filezilla is

Code: [Select]
Error:  Connection timed out after 20 seconds of inactivity
Error:  Failed to retrieve directory listing

Apart from ftp all looks fine at the time of error. Checked my and server's internet connection and it was good. I don't have any private IP configured in the server, server is directly connected to public IP.

Steps followed:
  • Restarted FTP server
  • Checked by connecting in passive as well as active FTP connections
  • Checked the server firewall by disabling it
  • Restarted server
  • Enabled all ports in the server
  • I also tried by creating another FTP user and problem didn't solve

I am not facing this problem every time i connect to the server but most of the time error comes.

How can i check the cause of the problem and solve?

Offline
*
Re: Directory listing in FTP gives timeout
« Reply #1 on: July 02, 2018, 03:42:18 AM »
CWP7 + CSF enabled?

Offline
*
Re: Directory listing in FTP gives timeout
« Reply #2 on: October 17, 2018, 01:36:33 PM »
i try CSF disable too.

Offline
*
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Directory listing in FTP gives timeout
« Reply #4 on: October 25, 2018, 05:10:45 PM »
I already reasolved, need open fiwerall ports at my hosting provider.

Offline
*
Re: Directory listing in FTP gives timeout
« Reply #5 on: November 01, 2019, 06:09:57 PM »
I already reasolved, need open fiwerall ports at my hosting provider.


I have the same problem.
What doors needed to open on CSF ?

Offline
**
Re: Directory listing in FTP gives timeout
« Reply #6 on: November 19, 2019, 01:20:38 AM »
sometimes, in addition to the Centos-Webpanel Wiki about using Passv mode, there is another reason for this issue that has nothing to do with firewalls.

for example,

A.  If you use Filezilla, then check the following...

Filezilla>File Menu>Site Manager>My Sites (select your saved site)

Then go to over to the right-hand side of Filezilla window and look at tabs (General, Advanced, Transfer settings, Charset) and click "Advanced" tab

Ensure that under "Default Remote Directory" you have at least given a directory...I use "/" (without "").

B. If using WinSCP, then do the following...

Goto Sessions>Sites>Site Manager>Edit Site> Advanced>Directories>Remote Directory, and ensure that "/" (without "") is set as your remote directory.

This fixes the problem for me in both of the above ftp clients.