Go Back   FlashFXP Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-08-2015, 01:50 PM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Rather than using the folder timestamp from the server, what if we simply determine the modified timestamp base on the newest file or folder within it?

If you have a folder named c:\test\ and the newest file has a timestamp of "2010-01-01 12:00" then the modified timestamp of \test\ would be updated to use this timestamp.

In many cases this would not match the server folder \test\ modified timestamp which is updated any time a file is moved/renamed/deleted, but instead it would reflect the timestamp of the last modified file within it.

This way we could avoid sending additional commands to the server and it would work whether or not the server supported the MTDM command.

This method could perhaps also be made into a custom command macro that could be used manually on existing local folders, not sure what I'd call it though /SetFolderTimestampToNewestFile %p%f is too long, suggestions welcome. Perhaps an optional [-r] flag to set the folder timestamps recursively as well.
bigstar is offline  
 

Tags
server, downloading, work, locally, downloads, timestamp, folder, add, folders, timestamps


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:27 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)