Re: Error generating directory listings
For list of reasons WinSCP cannot parse directory listing and possible resolutions, see documentation.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
I just tried 4.0.4 and apparently this bug is still present. Kind of annoying. And I don't have an SFTP server running, so that's not an option. And yes, I do have "Alias LS to display group name" enabled. Does not fix it either.
I'm still seeing the mentioned "directory listing" bug in 3.8.2 (Build 330)
I am constantly getting similar bug but can't determine its nature. I tried various settings but every time this bug prevented me from doing anything with remote files but for staring at their names in the log.
Think I have located the code that needs to be modified. I'm not a C++ developer, so I'm not sure if I should try to modify anything.
If we do the test the other way around, from size to group, I think we could make WinSCP handle files bigger than 100MB. What do you think?
do
{
FGroup += Col;
GETCOL;
assert(!Col.IsEmpty());
// for devices etc.. there is additional column ending by comma, we ignore it
if (Col[Col.Length()] == ',') GETCOL;
ASize = StrToInt64Def(Col, -1);
// if it's not a number (file size) we take it as part of group name
// (at least on CygWin, there can be group with space in its name)
if (ASize < 0) Col = " " + Col;
}
while (ASize < 0);
Ah! Didn't read all of your post :-) Seems like we have same conclusion. Is there any fix for this bug?
This bug is repeatable in any directory where the filesize and usergroup are not separated by a whitespace.
I'm attempting to test WinSCP against our SFTP server and getting the following errors:
Version 3 of the protocol:
Error listing directory SFTP Packet (112,33184,11597)
Version 4 or 5
Error decoding SFTP Packet (39,4,39)