RE: Timeout While Retrieving Directory Listing

"Whaley, Jason" <[email protected]> Thu, 19 Jan 2006 09:12:40 -0500
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
Hello Again Raul,

I disabled passive connections in Filezilla (my test ftp client), and I =
am receiving the same timeout. =20

Ideally I want my users (very technically unsavvy) to connect through IE =
so I will need to get this working without having clients adjust any =
settings.

I used ftp from the command line from my work machine and I could =
connect and be placed in the chroot'ed directory for the ftp user.  =
However, an issuance of dir or ls takes 60 seconds exactly everytime to =
complete from the command line ftp, but does work.  The behavior of ls =
and dir is that the output is shown, but hangs for 60 seconds, then the =
report is shown.

For instance:

	ftp> dir
	200 PORT command successful
	150 Connecting to port 3047
	-rw-r--r--    1 99       99             82 Jan 19 08:14 ezreg.dat

	//WAIT FOR 60 SECONDS

	226-Options: -l
	226 1 matches total
	ftp: 67 bytes received in 60.00Seconds 0.00Kbytes/sec.


Using put works fine and as expected.  Using get works but again, takes =
exactly 60 seconds to complete for only a <1kb sized file.

I tried ftp from localhost and everything worked well, ls and dir =
commands worked in milliseconds, as expected.

Could this be a port issue when connecting from a client?  It seems to =
me it may be something network related since ftp'ing from localhost =
works flawlessly.

Thanks,
Jason

-----Original Message-----
From: DervishD [mailto:[email protected]]=20
Sent: Wednesday, January 18, 2006 2:38 PM
To: Whaley, Jason
Cc: [email protected]
Subject: Re: [pureftpd] Timeout While Retrieving Directory Listing

    Hi Jason :)

 * Whaley, Jason <[email protected]> dixit:
> The user gets authenticated, but I receive the following error at the
> end of the connection:
>=20
> Error:	Timeout detected!
> Error:	Could not retrieve directory listing

    I've had the same problem with ProFtpd server due to the EPSV
command. If I don't disable EPSV mode in my client, it hangs forever
while doing a directory listing (for example). Your problem looks
different, anyway, and I cannot reproduce here, but just in case try
to do "epsv off" in your client (or whatever command does the same in
your client).

    Otherwise, I can try to test if you create an account for me so I
can test from my machine.

    Ra=FAl N=FA=F1ez de Arenas Coronado

--=20
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...



---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]