[ https://issues.apache.org/jira/browse/NIFI-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15431800#comment-15431800 ]
ASF GitHub Bot commented on NIFI-2440: -------------------------------------- GitHub user kirkalicious opened a pull request: https://github.com/apache/nifi/pull/913 NIFI-2440 - Add 'file.lastModifiedTime' attribute to ListSFTP processor Added 'file.lastModifiedTime' attribute to ListFileTransfer, which is the abstract class extended by ListSFTP. String literal attribute names were replaced with static references to attribute name constants in ListFile. ListFileTransfer stores the 'file.lastModifiedTime' attribute in the format specified in ListFile.FILE_MODIFY_DATE_ATTR_FORMAT You can merge this pull request into a Git repository by running: $ git pull https://github.com/kirkalicious/nifi NIFI-2440 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/913.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #913 ---- commit 9018a3794cdfc5570115a877b3dee32bbe3c8ae5 Author: Kirk Tarou <kirk.ta...@verizonwireless.com> Date: 2016-08-22T23:34:46Z NIFI-2440 - Add 'file.lastModifiedTime' attribute to ListSFTP processor Added 'file.lastModifiedTime' attribute to ListFileTransfer, which is the abstract class extended by ListSFTP. String literal attribute names were replaced with static references to attribute name constants in ListFile. ListFileTransfer stores the 'file.lastModifiedTime' attribute in the format specified in ListFile.FILE_MODIFY_DATE_ATTR_FORMAT ---- > Add last modified time & timestamp attributes to flow files generated by > ListSFTP processor > ------------------------------------------------------------------------------------------- > > Key: NIFI-2440 > URL: https://issues.apache.org/jira/browse/NIFI-2440 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Reporter: Kirk Tarou > Priority: Trivial > Original Estimate: 1h > Remaining Estimate: 1h > > The timestamp & last modified time attributes are not exposed in ListSFTP so > there's no way to preserve the timestamp of the remotely collected files when > writing them out to a file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)