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 bindingto move incoming file to a folder whose name should contain the currentdate time-stampformat ? In short , assuming the incoming fileinput.txtis inside/opt/INPUT/directory. After processing is done by theFTP bindingthe 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 namedmoved20140901should 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.