FTP current path changes after search

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

FTP current path changes after search

Post by *Flint »

1. Open some FTP.
2. Open Find Files dialog for this panel, in the "Search in" field specify any existing subdirectory of the current FTP directory (e.g. if you see 0:/dir/, make it 0:/dir/subdir/).
3. Start the search, wait for it to finish, close the dialog with Cancel.
4. Now the current path in the panel is still displayed as 0:/dir/, but in fact the real current path is /dir/subdir. If you try to do anything on the files shown in the panel, TC will attempt to apply your actions to the same named files in subdir (which is quite dangerous I'd say). If you press Ctrl+R, the current dir is updated and you see you real position (and you need to press Backspace to return back where you were when starting the search).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

since when does find files work on ftps???
Hoecker sie sind raus!
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Ahem… Since 7.0. :)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Does it matter? TC should be setting the dir correctly when you do any operation.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author) wrote:Does it matter? TC should be setting the dir correctly when you do any operation.
Suppose I have a file named "file.txt" both in the visible directory and in the directory I searched in (and I'm now located in). I want to delete the file.txt which I see on the screen — I know I don't need it. So I select it, press F8, Enter. Oops, I deleted a totally different file — the one which contained important data, while the file I wanted to delete remained untouched.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in TC 8.52 beta 1, please try it!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Confirm fixed.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply