[Solved] FTP inplace rename behaviour

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

[Solved] FTP inplace rename behaviour

Post by *SanskritFritz »

When I inplace rename a file in ftp, TC sometimes does not find the file, because the sort order changes. It should not be a big deal to capture the new name and set the cursor onto it.
Last edited by SanskritFritz on 2006-11-24, 16:59 UTC, edited 1 time in total.
I switched to Linux, bye and thanks for all the fish!
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

???
Could you provide more detailed description? I never saw such bug, and I am working with FTP quite a lot.
...you mean your file with new name do not get selected - correct?
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

...you mean your file with new name do not get selected - correct?
Yes, correct. Lets say, i have 3 directories, I rename one, and the order changes, and TC's cursor is on a different directory.
Before:

Code: Select all

a1	<DIR>	2005.03.11 20:43	-755
a2	<DIR>	2005.03.11 20:43	-755
a3	<DIR>	2005.03.11 20:43	-755
Cursor is on the second dir: "a2", now i rename it to "a4"
After:

Code: Select all

a1	<DIR>	2005.03.11 20:43	-755
a3	<DIR>	2005.03.11 20:43	-755
a4	<DIR>	2005.03.11 20:43	-755
Cursor is on "a3".
Same happens with files. If this happens when having 1000 files in the panel, it can be pretty annoying.
I switched to Linux, bye and thanks for all the fish!
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

You are damn right. It is bug :-|
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

bump
Christian, this is a really annoying one! Please do something about it!
I switched to Linux, bye and thanks for all the fish!
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

This has already happens to me too.
______________________
David Jorge
Personal License #117854
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Christian, this is a really annoying one! Please do something about it!
I switched to Linux, bye and thanks for all the fish!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Bump. Problem still present in 7.0.
Christian, this is a really annoying one! Please do something about it!
You know, I'm persistent ;-)
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I don't understand what the problem is. How can the sort order change while you are renaming?
Author of Total Commander
https://www.ghisler.com
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

ghisler(Author) wrote:Sorry, I don't understand what the problem is. How can the sort order change while you are renaming?
Not while, but after. If you have file1 and file2, rename file1 to file3, the sort order changes. And the cursor stays at the position where it was (now file2), it doesnt jump with the renamed file (file3, previously file1).
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, now I understand what you mean! I will investigate.
Author of Total Commander
https://www.ghisler.com
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2ghisler(Author)
Thanks :-)
I switched to Linux, bye and thanks for all the fish!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

HISTORY.TXT wrote:17.11.06 Fixed: Inplace rename: Cursor wasn't placed on renamed file when renaming file on ftp server
Confirmed, and thank you!
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks for bringing that to my attention!
Author of Total Commander
https://www.ghisler.com
Post Reply