FTP: how to sort directories by name ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
parakovsky
Junior Member
Junior Member
Posts: 7
Joined: 2016-09-20, 07:19 UTC

FTP: how to sort directories by name ?

Post by *parakovsky »

Greetings,

Working with amazing piece of software that TC is, we have slight problem with sorting directories by name in our FTP servers. Any easy workaround for that, or isn't that a problem at all and we are just pushing the 'wrong' buttons?
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome, parakovsky.

Do you mean "sorting by name along with files"?

That is not possible, I think.
Dalai explained that there > http://ghisler.ch/board/viewtopic.php?p=297407#297407
"But you can sort directories like files by selecting Options > Display > Sorting directories > Like files (also by time). "

But not folders and files mixed.
http://ghisler.ch/board/viewtopic.php?t=45501




If not, to sort by name just click at the column header "Name".


I am guessing that works for FTP connection too?

 

 
User avatar
Dalai
Power Member
Power Member
Posts: 10033
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Click on the "Name" column header and you're done. Click on the column header again to reverse sorting.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
parakovsky
Junior Member
Junior Member
Posts: 7
Joined: 2016-09-20, 07:19 UTC

Post by *parakovsky »

Sorry guys, I didn't make myself clear enough. I need to sort files by last digit, not first, say I have dd.mm.yyyy tipe of directories, I don't need program to sort directories by day, rather by year, any way it can do that?
User avatar
Dalai
Power Member
Power Member
Posts: 10033
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

You can do this in a custom columns view. Right-click the column headers, select "Configure custom columns" and create a new custom columns view that contains [=tc.Name:x-y] or [tc.Extension:x-y] or something like that, where x and y are numbers that specify the start and end of the string you want TC to show. You'll have to play a little bit with the numbers and fields because it depends how your directoy names really are. Sorry for not being more specific. Also you can consult the TC help (press F1 in the custom columns config dialog) which contains some more details on this subject.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

parakovsky wrote:Sorry guys, I didn't make myself clear enough.
Be more specific.
Post some examples and how they should be in order after sorting.








 
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

parakovsky wrote:... say I have dd.mm.yyyy tipe of directories, I don't need program to sort directories by day, rather by year...
Not really a universal solution, but in this special case with ".YYYY" you can add "SortDirExt=1" and "SortDirsByName=0" to your wincmd.ini's [Config] section and sort the file list by extension.

Regards
Holger
parakovsky
Junior Member
Junior Member
Posts: 7
Joined: 2016-09-20, 07:19 UTC

Post by *parakovsky »

Thanks to everybody for suggestions, I will try as soon as possible and provide feedback and examples as soon as I could.
parakovsky
Junior Member
Junior Member
Posts: 7
Joined: 2016-09-20, 07:19 UTC

Post by *parakovsky »

HolgerK wrote:
parakovsky wrote:... say I have dd.mm.yyyy tipe of directories, I don't need program to sort directories by day, rather by year...
Not really a universal solution, but in this special case with ".YYYY" you can add "SortDirExt=1" and "SortDirsByName=0" to your wincmd.ini's [Config] section and sort the file list by extension.

Regards
Holger
I can't find where is the 'ini file located, could you maybe help me with that?
User avatar
Dalai
Power Member
Power Member
Posts: 10033
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

parakovsky wrote:I can't find where is the 'ini file located, could you maybe help me with that?
Use menu Configuration > Change settings files directly.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Or

Post by *Phred »

Or Help > About Total Commander.
At the bottom you'll see what two ini files are currently in use.
Post Reply