Originally Posted by sTe
Any quick ideas how I might be able to recursively trawl the FTP / retrieve just the details so I can re-sync the file/date time fields where the path / size matches locally (without having to re-download... I have 1/2 TB of synced small and large files)? I have seen a FTP powershell script, which I can probably adapt ... is there any way I can plugin / control FlashFXP from powershell? I'm not a real programmer, but I do know some basic scripting.
I am unaware of any existing solution that can do this.
I looked at the possibility of using custom command macros in FlashFXP to do it, but a few steps are missing to make it work.
FlashFXP would need to be able to issue the MDTM command on each object in the folder to retrieve an accurate modified timestamp, Adding this would be rather trivial (which I did for testing purposes), but then we face some additional issues, such as getting info from one browser pane and then applying it to the other and navigating both browser panes to update the timestamp recursively. I have come up with a partial working script (after some code changes in flashfxp) but the script must be executed manually for each folder, which is not very practical.
Also since MDTM command needs to be issued for each file in the file listing, it adds quite a bit of time to each folder being browsed, I think trying to correct the ~1 second error on the timestamp on all your existing files would probably take several days and quite a bit of work.
Using FlashFXP this 1 second difference would not have any major impact on the file transfer rules since we allow for up to a minute difference on new files and up to a day on files over a year old (where only the DD/MM/YYYY is provided in the listing) on files returned by the legacy UNIX:L8 file format.