Topic "Useful recommendation feature on sorting files/directory"

Author Message
iso
[View user's profile]

Joined: 2013-11-26
Posts: 5
Location: neither
I've been a big fan of winscp, but there's one thing that is really important capability yet unnoticeable.

Especially when we do sorting by files/directory modification date by descending.
If the modification of the directory is older than the files inside of it, it should be prioritized lower.

So i can't really find the proper top newer modification files that has been just updated, because the newer updated files are inside the directory which has modification date older.

The current sorting method is not logically wrong either, since we are sorting what is currently viewable.

But if you can have an options to sort by the newest modification date by ignoring the directory, that would be superb!

Sorry for my bad english, i try to explain as clear as possible, hope that's understandable enough.

Thanks.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Sorry, I do not really understand. It seems that you refer to some view, where you see both the directory entry and entries for files inside the directory. Do you refer to Find dialog?
_________________
Martin Prikryl
iso
[View user's profile]

Joined: 2013-11-26
Posts: 5
Location: neither
prikryl wrote:
Sorry, I do not really understand. It seems that you refer to some view, where you see both the directory entry and entries for files inside the directory. Do you refer to Find dialog?


yeah i just tested it, let me explain as clear as possible, the current ordering listed by newest modification date as follow:
- model (dir)
- view (dir)
- controller (dir)
- helper (dir)
- example.php (file)

then i update one the files 'inside' the 'helper' directory ...
the order item didn't change at all, because it is ordered by the directory modification date rather than the subfolders item also.
what i expected is, it should be in this ordering:
- helper (dir) --> this turn to be the newest
- model (dir)
- view (dir)
- controller (dir)
- example.php (file)

with this i can notice directly the newest file that i should propragate to the remote server.

Thanks i hope that's quite clear Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
WinSCP shows directory modification timestamp as it is reported by the server system. It does not invent the timestamp on its own. AFAIK, most systems change directory modification timestamp only, when the contents of the directory (meaning "list of files") change. So when new file is added or removed, not when contents of file changes only.
_________________
Martin Prikryl
iso
[View user's profile]

Joined: 2013-11-26
Posts: 5
Location: neither
i see, so is that impossible to make an option/feature to just order by the objective modification files/directory date ?

it doesn't mean to change the system ordering, just an additional process to be done after the system ordering though. Idea

well it's okay, but if it's possible then it's gonna be very helpful i guess Wink
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
For that WinSCP would have to read contents of all subdirectories to find the newest file in each.
_________________
Martin Prikryl
teddy@...

Guest


prikryl wrote:
For that WinSCP would have to read contents of all subdirectories to find the newest file in each.


agree, maybe put in the future list Wink
Thanks.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License