"FTP Show Hidden files" not changeable via menu

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
burg1
Junior Member
Junior Member
Posts: 30
Joined: 2007-07-10, 13:56 UTC

"FTP Show Hidden files" not changeable via menu

Post by *burg1 »

Hi,

I'm observing an odd bug here:
When I change the "FTP Show Hidden files" setting (Net menu), it stays for the session, but gets reset on exit.

However, when I manually change FtpShowHidden in wcx_ftp.ini, it works as expected.

Looks like the menu setting isn't written into the ini-file. (Setting up a new FTP connection does work, so the file IS writeable in principle)

Cheers!
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Burg1.

It works as designed. But the design may be questionable...

The menu item "FTP show hidden files" is just an on/off switch which switches the setting on/off, default=off, for the current T.C. session.

In order to make FTP show hidden files by default, you have to add the parameter FtpShowHidden=1 to the [General] section of your wcx_ftp.ini file.

This is inconvenient. - Too many parameters which can be set by modifying the INI files directly only.

Kind regards,
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is intentional because some servers show nothing at all with FtpShowHidden=1 (e.g. some Windows-based servers).
Author of Total Commander
https://www.ghisler.com
burg1
Junior Member
Junior Member
Posts: 30
Joined: 2007-07-10, 13:56 UTC

Post by *burg1 »

Hi,

well then, please make the FtpShowHidden option configurable for each FTP connection separately - as has been suggested before somewhere in this forum....

Thanks!!
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Agree. Existing one as deafult parameter value and once per connection, if specified, to override default value.
Post Reply