Hi Alexander,

Thank you very much! I confirm that this patch seems to fix the problem.

Have nice day,


Le 12/05/2017 à 10:58, Alexander V. Lukyanov a écrit :
Please try commit 4a68c00e773eca3efa12f1c2cd0c91ecb088e600 or the patch in


On Thu, May 11, 2017 at 05:03:18PM +0000, Alexander Lukyanov wrote:
I'll add a workaround. Thanks for the report!

чт, 11 мая 2017, 19:58 Franck Eyraud <franck+l...@nospam.yrnm.net>:


I have the problem with a FTP server, mirroring is not taking into account
any folder for recursion. I think I noticed why: when running ls command,
all folders are suffixed with a slash, this doesn't happen on other FTP
servers I tried. It seems that this cause lftp to completely ignore them.

dr-x------   3 user group            0 May 11 16:33 folder1/
dr-x------   3 user group            0 May 11 16:33 folder2/
dr-x------   3 user group            0 May 11 16:33 folder3/
dr-x------   3 user group            0 May 11 16:33 folder4/

cls command return an empty list, du gives output "./ 0", as if no folder
where present there.

The debug .mplist command gives :

Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; folder1/
Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; folder2/
Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; folder3/
Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; folder4/

I tried to look for some parameter, for instance use-msld or list-options
(but what option to provide), but it doesn't change.

Manually changing directory with cd, and mirroring files work correctly.

I can understand that the FTP server is buggy, but is there a way to work
around that ?  Of course, I have no control over the server, that would be
too easy, I have to deal with this, and download data from there...

Thank you !


lftp mailing list

Reply via email to