Control Web Panel

WebPanel => FTP => Topic started by: avanipg4 on June 27, 2018, 04:48:59 PM

Title: Directory listing in FTP gives timeout
Post by: avanipg4 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:

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?
Title: Re: Directory listing in FTP gives timeout
Post by: tinchocba on July 02, 2018, 03:42:18 AM
CWP7 + CSF enabled?
Title: Re: Directory listing in FTP gives timeout
Post by: tiagondelgado on October 17, 2018, 01:36:33 PM
i try CSF disable too.
Title: Re: Directory listing in FTP gives timeout
Post by: studio4host on October 18, 2018, 06:45:26 AM
try this
http://wiki.centos-webpanel.com/pure-ftpd-setup-passive-ftp-ports
Title: Re: Directory listing in FTP gives timeout
Post by: tiagondelgado on October 25, 2018, 05:10:45 PM
I already reasolved, need open fiwerall ports at my hosting provider.
Title: Re: Directory listing in FTP gives timeout
Post by: tiagocaus 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 ?
Title: Re: Directory listing in FTP gives timeout
Post by: adamjedgar 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.