Alternate way to grab files from last day
I am connecting to a third party SFTP site to download files with a PowerShell script through WinSCP.
Over the last few days they changed something on their end, and something is updating their file directories to change the last modified date to the same day. There are multiple days worth of files in there and I only want the past 1 day. But whatever is happening is changing all the modified dates to current day.
They won't help me.
What are other methods I can use to just pull the most recent file if I can't rely on modified date?
TIA
Over the last few days they changed something on their end, and something is updating their file directories to change the last modified date to the same day. There are multiple days worth of files in there and I only want the past 1 day. But whatever is happening is changing all the modified dates to current day.
They won't help me.
What are other methods I can use to just pull the most recent file if I can't rely on modified date?
TIA