The WinSCP interface lets you see disk usage on the
Server and Protocol Information Dialog:
This information is however not retrievable from the
scripting interface nor the
.NET wrapper, as far as I could find.
This can be very useful, notably with .NET, to check disk usage before deciding to upload or not.
As of right now, the only possible workaround is to manually call
when on SFTP
assuming it is even supported, and parse everything ourselves even though WinSCP is capable of doing it and already implements it internally.
It would be nice for the scripting interface (and therefore the .NET wrapper) to be able to return this information to the user, please :)