How to configure SwitchYard's FTP binding to move incoming file to a folder whose name should contain the current date time-stamp format ?
Issue
- Is it possible to configure
SwitchYard
'sFTP binding
to move incoming file to a folder whose name should contain the currentdate time-stamp
format ? In short , assuming the incoming fileinput.txt
is inside/opt/INPUT/
directory. After processing is done by theFTP binding
the file should be moved inside a directory like/opt/OUTPUT/moved20140901/
(without the file being renamed) location . Here the/opt/OUTPUT/
location already exists on file-system but the directory namedmoved20140901
should be created dynamically depending on the date time-stamp. How to achieve this goal?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.