http://bugs.proftpd.org/show_bug.cgi?id=1931
proftpd guys conclude that the nlst probleme result from a bug in lftp. if someone has time ... seb seb wrote:
after some tests, it seem proftpd has a bug with nlist and empty dir and simple 'ls' display.
For my mirror, lftp with set ftp:list-options "-a in lftp.conf work now perfectly.
But lftp shouldn't disconnect but ignore this 'bug' and continue mirror, like others ftp client (flashfxp, leapftp ...) i think ..
Robart sebastien
seb wrote:
hi,
i have the same problem: http://www.mail-archive.com/[email protected]/msg00962.html
when NSLT doesn't result something, lftp stop mirror.
here my debug (i changed ip):
....
<--- 250 CWD command successful.
---> TYPE A
<--- 200 Type set to A.
---> PASV
<--- 227 Entering Passive Mode (2,0,3,1,177,63).
---- Connecting data socket to (2.0.3.1) port 45375
---> LIST
<--- 150 Opening ASCII mode data connection for file list
---- Closing data socket
<--- 226 Transfer complete.
---> PASV
<--- 227 Entering Passive Mode (2,0,3,1,215,0).
---- Connecting data socket to (2.0.3.1) port 55040
---> NLST
**** Connection reset by peer
---> ABOR
---- Closing control socket
---- Connecting to ...
This is with a proftpd server. Strangly, sometime NLST work.
-why lftp do a NSLT at this step ? lftp has all read right in the directory.
-REQUEST, add plz in futur lftp version a way to ignore bad nlst result or to never use nlst.
thx
seb
