How to reload lister contents read from file system 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
User avatar
rw
Junior Member
Junior Member
Posts: 5
Joined: 2005-11-09, 09:19 UTC
Location: Salzgitter

How to reload lister contents read from file system plugin?

Post by *rw »

After writing a file system plugin and a lister plugin for the files from an embedded system, I wonder how to display altered file contents in the lister window.
Pressing F2 in the lister window just re-displays the contents of the local file, which had been originally read once from the embedded system.
AFAIK the only way to display updated contents is to close the lister window and press F3 on the remote file in TCs file list provided by the file system plugin.
Background: the illusion (provided by the great file system plugin API :wink:) of accessing a local file is so perfect, the normal user expects the same behavior known from local files. Viewing a local file in the lister, then changing its contents and pressing F2 in the lister will reflect the changed contents...

Any suggestions?
#9875 - Explorer-free since 1996
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed the file is downloaded to TEMP and then viewed - F2 only re-reads the file in TEMP, it doesn't re-download it. Maybe I should add that as an option?
Author of Total Commander
https://www.ghisler.com
User avatar
rw
Junior Member
Junior Member
Posts: 5
Joined: 2005-11-09, 09:19 UTC
Location: Salzgitter

Post by *rw »

Thanks for your fast response: that option would be a useful extension (not only for my plugins ;-)
#9875 - Explorer-free since 1996
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Maybe I should add that as an option?
Yes, please !
I often run into this "illusion" using sftp plugin.
#5767 Personal license
Post Reply