FTP current path changes after search
Moderators: Hacker, petermad, Stefan2, white
FTP current path changes after search
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).
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
Using TC 11.03 / Win10 x64
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
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Does it matter? TC should be setting the dir correctly when you do any operation.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
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.ghisler(Author) wrote:Does it matter? TC should be setting the dir correctly when you do any operation.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should be fixed in TC 8.52 beta 1, please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Confirm fixed.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: