How to configure SwitchYard's FTP binding to move incoming file to a folder whose name should contain the current date time-stamp format ?

Solution Verified - Updated -

Issue

  • Is it possible to configure SwitchYard's FTP binding to move incoming file to a folder whose name should contain the current date time-stamp format ? In short , assuming the incoming file input.txt is inside /opt/INPUT/ directory. After processing is done by the FTP 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 named moved20140901 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content