synchronize when one pannel is a FS plugin
Moderators: Hacker, petermad, Stefan2, white
synchronize when one pannel is a FS plugin
Currently if one pannel displays content through a FS plugin, synchronize can't do compare by content. Also when in synchronize window, and try to do a diff on the files it will fail.
Is there any plan to implement this?
Can anybody explain a little why this is not (or eventually will not be) possible?
--sadyc
Is there any plan to implement this?
Can anybody explain a little why this is not (or eventually will not be) possible?
--sadyc
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It's simply not implemented (yet?). TC would have to temporarily download the file, compare it, and then delete the temp file - very inefficient.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Because that's for a very limited amount of files only, not for all files of an entire tree. Technically it wouldn't be too difficult to add, but is it really desirable? The same for FTP...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Not all FS plugins connect to far away servers. It can be anything.
It's just a matter of speed. Do you want to tell people how fast there connection is? (Intranet etc.) Even if it's slow it's more comfortable then manually comparing stuff!Because that's for a very limited amount of files only, not for all files of an entire tree. Technically it wouldn't be too difficult to add, but is it really desirable? The same for FTP...
Not all FS plugins connect to far away servers. It can be anything.
Hmm.. since the comparing is done internally (not by an external program), why can't it read data directly from the plugin? why the need of the temp file?ghisler(Author) wrote:It's simply not implemented (yet?). TC would have to temporarily download the file, compare it, and then delete the temp file - very inefficient.
Anyway, implementing it using a temp file is a welcomed step forward.
--sadyc
I've looked a little over the FS plugins interface, and I've noticed that this is a limitation of it. It can only extract an entire file into a new file on disk.sadyc wrote:Hmm.. since the comparing is done internally (not by an external program), why can't it read data directly from the plugin? why the need of the temp file?ghisler(Author) wrote:It's simply not implemented (yet?). TC would have to temporarily download the file, compare it, and then delete the temp file - very inefficient.
So... any plans to extend the FS plugins interface, in order to read portions of a file in a buffer ?
(some sort of ReadFile function)
This way listener (or other internals of TC) can use data feed directly from FS plugins, no need for temporary files.
--sadyc
agreeLefteous wrote:2ghisler(Author)It's just a matter of speed. Do you want to tell people how fast there connection is? (Intranet etc.) Even if it's slow it's more comfortable then manually comparing stuff!Because that's for a very limited amount of files only, not for all files of an entire tree. Technically it wouldn't be too difficult to add, but is it really desirable? The same for FTP...
Not all FS plugins connect to far away servers. It can be anything.
--sadyc