By F4 editing & saving the file, FTP tree no refresh

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

By F4 editing & saving the file, FTP tree no refresh

Post by *Useless »

When I edit the file on FTP (using F4) and moving to other FTP location, after saving the file the TC not return me to open folder where file was located.

The feature worked fine on previous TC. It changed in TC 9.20 betas. Is it a feature or a bug?
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

Post by *Useless »

It seems this feature stop working after fixing this bug:

https://www.ghisler.ch/board/viewtopic.php?t=49086

TC 9.20 Beta 4
18.05.18 Fixed: FTP, edit two or more text files (with F4) from two or more different directories, save all within less than 1 second -> sometimes one was still re-uploaded to wrong directory, with error that server is busy (32/64)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed this was changed exactly for this reason: Before, the re-upload only worked to the current directory in a panel, now it works independently. Therefore the directory isn't switched back now after a re-upload. This is intentional, so the user can continue to work in the directory where he was before the re-upload.
Author of Total Commander
https://www.ghisler.com
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

Post by *Useless »

Oh no!

It was huge time saving feature for me when I edited more files on various places and need to open more related files from particular direcotry.

Is there any chance add an option into wincmd.ini file to get back this behaviour? Please...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately that would break the editing of multiple files again, e.g. when using a multiple document editor witz multiple opening files, and then saving all files in one step.
Author of Total Commander
https://www.ghisler.com
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

Post by *Useless »

I never used Save All on FTP. It's not very clever idea doing that. I'll appreciate to have possibility change this behavior.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: By F4 editing & saving the file, FTP tree no refresh

Post by *ghisler(Author) »

There is an option now in TC 9.21 RC1 to return to the old behaviour, which even works when editing and saving multiple files at once!
wcx_ftp.ini
[General]
ReturnToReUploadDir=1

Please test it!
Author of Total Commander
https://www.ghisler.com
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

Re: By F4 editing & saving the file, FTP tree no refresh

Post by *Useless »

Great! Thank you. You are the best.
Post Reply