While developing another WFX plugin I stumbled upon another inconsistency in TC's behavior when FsGetFile() function gets called.
Situation: WFX plugin returns several files and folders to TC, some of them contain special characters like slashes that are forbidden in local Windows file-systems. Example: "TCP/IP-Protokolltreiber".
- Viewing such a file with F3 cuts all parts but the last one after the slash. Example: "IP-Protokolltreiber".
- Copying the same file on the other hand replaces the special characters. Example: "TCP_IP-Protokolltreiber".
No comes the "fun" part: Copying directories DOES NOT replace special characters in directory names, they're only replaced in file names! So, you can't duplicate the structure of a file-system plugin with special characters in directory names, unless the plugin itself takes care of them.
Is this by design? I'd rather call it a bug, but I'm not sure.