Re: Feature: Use directory size from server (if provided)
Thanks for your suggestion. Let's see, if there's a more widespread use of the feature first.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
MLSD
command to list files/directories. For a file, the response might look like this and is already supported:
Type=file;Modify=20230331155201;Create=20230331155201;Size=1234; example.txt
Size=
param:
Type=dir;Modify=20230331155201;Create=20230331155201; example-dir
Size=
param, WinSCP simply ignores it. So I propose to use this param if provided in the response. Of course, manually calculating the size would still work as usual and simply override any previously stored size.