Problem parsing list output : no automatic mirror nor browse is possible

Franck Eyraud <[email protected]> Thu, 11 May 2017 18:52:29 +0200
Newsgroups gmane.network.lftp.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============5227944675205445427==
Content-Type: multipart/alternative;
 boundary="------------5CFA9D2688A306518D9E4BFF"

This is a multi-part message in MIME format.
--------------5CFA9D2688A306518D9E4BFF
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

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 !

Franck

--------------5CFA9D2688A306518D9E4BFF
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Times New Roman, Times, serif">Hello,<br>
      <br>
      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.<br>
    </font><tt><br>
    </tt><tt><br>
      dr-x------   3 user group            0 May 11 16:33 folder1/</tt><tt><br>
    </tt><tt>dr-x------   3 user group            0 May 11 16:33
      folder2/</tt><tt><br>
    </tt><tt>dr-x------   3 user group            0 May 11 16:33
      folder3/</tt><tt><br>
    </tt><tt>dr-x------   3 user group            0 May 11 16:33
      folder4/</tt><tt><br>
    </tt><font face="Times New Roman, Times, serif"><br>
      cls command return an empty list, du gives output "./ 0", as if no
      folder where present there.<br>
      <br>
      The debug .mplist command gives :<br>
    </font><tt><br>
    </tt><tt>Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; </tt><tt>folder1/<br>
      Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; </tt><tt>folder2/<br>
      Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; </tt><tt>folder3/<br>
      Size=4096;Modify=20170511162938.894;Type=dir;Perm=el; </tt><tt>folder</tt><tt>4</tt><tt>/</tt><tt><br>
    </tt><font face="Times New Roman, Times, serif"><br>
    </font><font face="Times New Roman, Times, serif"><font face="Times
        New Roman, Times, serif">I tried to look for some parameter, for
        instance use-msld or list-options (but what option to provide),
        but it doesn't change.<br>
        <br>
        Manually changing directory with cd, and mirroring files work
        correctly.<br>
      </font><br>
      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...<br>
      <br>
      Thank you !<br>
      <br>
      Franck<br>
    </font>
  </body>
</html>

--------------5CFA9D2688A306518D9E4BFF--

--===============5227944675205445427==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

--===============5227944675205445427==--