camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadersgh <sghir.na...@gmail.com>
Subject process on file presence on FTP
Date Fri, 10 Feb 2017 18:52:12 GMT
Hello everybody,I have a use case that I can't find a way to implement it,
here it is:with an FTP connexion, I need to get only files named with
specific prefix from a list.(example of file names format
FileA_20170210073006539.csv, FileB__20170210073006475.csv,
FileC_20170210073006485.csv).I can only process those files when they are
all together with the same date.For example if I have in my FTP folder 
FileA_20170209073006539.csv
 FileB__20170209073006475.csv
FileC_20170209073006485.csv
FileA_20170210073006539.csv
 FileB__20170210073006475.csv
FileC_20170210073006485.csv
I must begin by processing the  FileX_20170209 files (the oldest ones).and
if I have only: 
 FileB__20170210073006475.csv
FileC_20170210073006485.csv
I must wait for FileA_20170210 presence.Thank you for your help



--
View this message in context: http://camel.465427.n5.nabble.com/process-on-file-presence-on-FTP-tp5793774.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message