FS-Plugin API - possibility to retrive free (disk) space?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
RufUsul
Junior Member
Junior Member
Posts: 2
Joined: 2005-08-20, 00:56 UTC

FS-Plugin API - possibility to retrive free (disk) space?

Post by *RufUsul »

I'm just wondering if there is way to tell tc the free (disk) space of a FS-Plugin.

If not i would suggest to add a function like "FsFreeSpace" and treat it like some others as not required (Do NOT export this function if it isn't supported by your plugin). RemoteInfoStruct could be reused for the size info.

could look like this:
BOOL __stdcall FsFreeSpace(char* RemoteName,RemoteInfoStruct* ri);

sorry if there is already a way to do this... ;-)
RufUsul
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, currently there is no such function. I will consider it.
Author of Total Commander
https://www.ghisler.com
RufUsul
Junior Member
Junior Member
Posts: 2
Joined: 2005-08-20, 00:56 UTC

Post by *RufUsul »

OK, thanks for your interest in my suggestion.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 11-05-2005 17:45:00 +0000 ghisler(Author) wrote:

g> Sorry, currently there is no such function. I will consider it.

That's nice :). Please consider as well function to tell Commander "disk" name (instead of "_none_") for an FS-Plugin.[/face]
Post Reply