Forum Discussion
vladenache
1 day agoRegular Visitor
sftp file modified date
Hei Having a hard time picking up the modified datetime of files from a sftp server. With a Get MEtadata activity, the Last Modified field actually is just the time when I run that activity - so t...
vladenache
14 hours agoRegular Visitor
hei everyone, I appreciate all your answers, but this doesn't seem to work for me.
when I run a Get Metadata activity with a specific file name, and retreive the last modified datetime, it returns the actual time when the activity was run. like in this example. the example file has a hardcoded timestamp in the name to show when it was produced, but look at the last modified value i get, it is exactly UTC time when i ran the activity:
So I know for a fact the file was uploaded on the 10th of november, not the minute I ran the activity.
As a clarification, not all files have a hardcoded datetime in their name, so I cannot rely on extracting the actual value from the item name alone.
Thanks