FTP attributes not recognized for MLSD

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

FTP attributes not recognized for MLSD

Post by *Flint »

On a Russian forum one user discovered that when connecting to some FTP server TC displays only "---" instead of Unix attributes. After switching to the LIST command the problem disappeared, so it has something to do with the MLSD format sent by the server. Here is the sample listing:

Code: Select all

Type=cdir;Modify=20140604171124;Perm=ceflmp;Unique=OwAAAHZrCwA; /oldoctober.com/pics/color
Type=pdir;Modify=20140701082657;Perm=ceflmp;Unique=OwAAADBwBwA; ..
Type=file;Size=4836;Modify=20110118151728;Perm=adfrw;Unique=OwAAAHdrCwA; 08_t.png
Type=file;Size=2504;Modify=20081112194308;Perm=adfrw;Unique=OwAAAHhrCwA; 01.png
Type=file;Size=5854;Modify=20081112194306;Perm=adfrw;Unique=OwAAAHlrCwA; 02.png
Type=file;Size=4062;Modify=20081112194305;Perm=adfrw;Unique=OwAAAHprCwA; 03.png
Type=file;Size=6244;Modify=20081112194259;Perm=adfrw;Unique=OwAAAHtrCwA; 04.png
Type=file;Size=3926;Modify=20090302185041;Perm=adfrw;Unique=OwAAAHxrCwA; 06.png
Type=file;Size=18229;Modify=20090615082401;Perm=adfrw;Unique=OwAAAH1rCwA; 07.gif
Type=file;Size=37920;Modify=20110118151727;Perm=adfrw;Unique=OwAAAH5rCwA; 08.png
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

There's no UNIX.mode in the list, so no attributes. Output from FEAT command might be interesting, to see if perhaps server has that field disabled by default or does not advertise support for it at all.
Post Reply