Give the ability to fetch available space from the scripting interface and the .NET wrapper

Advertisement

RSM
Guest

Give the ability to fetch available space from the scripting interface and the .NET wrapper

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
df
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 :)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,983
Location:
Prague, Czechia

Re: Give the ability to fetch available space from the scripting interface and the .NET wrapper

Thanks for your suggestion.
We will see, if more people ask for this.

Reply with quote

Advertisement

You can post new topics in this forum