Project: mule
Issue MULE-6858: Filename-wildcard filter to fails with SFTP
MULE-6743 modified the scope of originalFilename property: originally it was stored in the outbound scope, but it was changed to inbound. Filename wildcard filter was also changed to read that property from the inbound scope. However the SFTP transport is still storing the property in the outbound scope, making the filter to work incorrectly (not processing file that should be processed). After the mentioned changes, file transport is storing the property in INBOUND and OUTBOUND, FTP is storing it in INBOUND, and SFTP is doing it only in OUTBOUND.
Story points: 2