Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: timonkOne other way to do file checking is the Directory List node.
You can use the Directory List node in the Core library to check a location for a specific file, or file pattern. You can then link the output of that node to a Delimited File node ( or any of the other input nodes), and load the desired file.
Here is a simple example:
node:Delimited_File
bretype:core::Delimited File
editor:sortkey=4ca48d4d198a0d20
input:4ca48dec75107264/out1=Directory_List.40fd2c747c2b1c0a
output:@41e6c6cd11e613c6/=
prop:FieldDelimiter=\t
prop:FilenameExpr=<<EOX
'FileName'
EOX
prop:RecordDelimiter=\n
editor:XY=340,120
end:Delimited_File
node:Directory_List
bretype:core::Directory List
editor:sortkey=4ca48d585cdb4ea4
output:@40fd2c747c2b1c0a/=
prop:DirectoryName=C:\temp
prop:Pattern=FOO.txt
editor:XY=210,120
end:Directory_List