I have a scenario where i am reading a file from ftp server in OSB using Ftp protocol and sending it to target system.
As per my requirement , i have to send the file name to target system with the same name that i have received from source system.
For achieving this i have to use file name property.
Open the proxy service and go to route node and in Request actions add actions as “Set Transport Headers”.
In the “Transport Headers” name , select the name as “jca.ftp.FileName” and open the action and set it as “$inbound/ctx:transport/ctx:request/tp:headers/ftp:fileName”