Create file through WFX plugin

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
NOP 0x90
New Member
New Member
Posts: 1
Joined: 2007-11-29, 10:54 UTC

Create file through WFX plugin

Post by *NOP 0x90 »

Hi.

I am playing with the wfx writer's reference sample plugin and I've noticed while folders can be created through the file system plugin (it invokes FsMkDir), it doesn't support file creation. Creating a new file with SHIFT+F4 through the file system plugin doesn't seem to trigger any callback and the file is created silently on the local machine.

It seems like when creating a new file, Totalcmd should place it in the windows temporary folder (or wherever) and then upload it to selected remote destination via FsPutFile call. This way creating new files would act similar to creating new folders.

Is there a way to make this work?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's indeed a nice idea, I will check whether I can implement it.
Author of Total Commander
https://www.ghisler.com
Post Reply