1) In sample fsplugin.wfx (c) C. Ghisler i found some problem:
in plugin root directory, if i drag`n`drop some folder on root sign (".."),
TC rise exeption. Tell me pls, how can i fix it in my plugin.
2) On copy folder from system disks (C, D, E etc.) to my fsplugin directory, how i can get source directory? FsMkDir allow receive only dest.
directory.
Thx. Sorry for my bad english.
make fs plugin problem
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry you can't - only with the files being copied from that directory. So you can just ignore the mkdirs and instead store the files from that directory. The only negative side effect is that you cannot store empty directories.2) On copy folder from system disks (C, D, E etc.) to my fsplugin directory, how i can get source directory? FsMkDir allow receive only dest.
directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author) wrote:Sorry you can't - only with the files being copied from that directory. So you can just ignore the mkdirs and instead store the files from that directory. The only negative side effect is that you cannot store empty directories.2) On copy folder from system disks (C, D, E etc.) to my fsplugin directory, how i can get source directory? FsMkDir allow receive only dest.
directory.

thank you anyway
Source Directory Retrieval Problem
Hi
I'm basically encountering the same problem while developping the CVSBrowser FS plugin.
The problem is, that for creating directories in CVS, I have to exactly know from where the FsMkDir() during a multi-copy (FS_STATUS_OP_PUT_MULTI) was called.
As mentioned, to store the files in that directory and then to try to find out which was the origine directory, only works for non-empty directories.
I tried to use messages like cm_CopySrcPathToClip and then retrieving this source path from the clipboard. However such messages are only processed by TC after having processed the whole multi-copy event, which of course is to late.
Is there any possibility to retrieve this source path or to create a hook (callback) after the cm_CopySrcPathToClip has been processed ?
Or is there an easier way to figure out, what the source path was ?
I'm basically encountering the same problem while developping the CVSBrowser FS plugin.
The problem is, that for creating directories in CVS, I have to exactly know from where the FsMkDir() during a multi-copy (FS_STATUS_OP_PUT_MULTI) was called.
As mentioned, to store the files in that directory and then to try to find out which was the origine directory, only works for non-empty directories.
I tried to use messages like cm_CopySrcPathToClip and then retrieving this source path from the clipboard. However such messages are only processed by TC after having processed the whole multi-copy event, which of course is to late.
Is there any possibility to retrieve this source path or to create a hook (callback) after the cm_CopySrcPathToClip has been processed ?
Or is there an easier way to figure out, what the source path was ?
CVSBrowser WFX Plugin Author