David Marrow created NIFI-8189:
----------------------------------
Summary: ListSFTP picks up empty files
Key: NIFI-8189
URL: https://issues.apache.org/jira/browse/NIFI-8189
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.9.2
Environment: Centos 7
Reporter: David Marrow
For ListSFTP we set the minimum files size to 1B. This that set it still picks
up empty files. In looking at the attributes tab file.size was set to 848
(different for each empty file) while the File Size under the Details tab is
Zero (always the case until you fetch the file). My guess is the attribute
information is coming from the SFTP site. After fetching the file the File
Size under the Details tab is 0 but the file.size under the attributes tab is
still 848.
I also noticed that if the file is not empty the File Size and file.size match.
I am unable to provide screen shots from my environment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)