This content has been marked as final. Show 1 reply
As you've probably found out, this is not how OSB works. It doesn't really care about the file-names as much as the data in them. In other words, you cannot use (out of the box) OSB to receive a file-name and then simply move it around. Use a Java-callout to do that.
You can, however, easily call FTP midway through a flow. Simply invoke the FTP business service, and the data you pass will end up in a file on the FTP destination site.
In your case, you may consider simply using the file adapter. Put the file into a destination directory with the data you received. Have cron pick up the file, compress and send it to the destination site.
OSB doesn't do ZIP (if somebody knows otherwise I would be happy to learn), so you can use a file-adapter to write our the full data file uncompressed, a simply have external tools take over (external to OSB).