cancel
Showing results for 
Search instead for 
Did you mean: 

reading file name

Former Member
0 Kudos

hello

i used the step by step guide to develop a module for reading file name in a sender file adapter from Krishnakumar Ramamoorthy. (Thankyou very much for that guide)

now when i use this module i get only one problem:

the filename includes the source-dir as well.

e.g.

source-dir: /home/example

filename: test.txt

Filename in module: /home/example/test.txt

why is the source-path included in the Filename?

thanks alot for any help

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Paul,

you can always delete this inside your mapping:

for instance trim the first 13 letters from /home/example

then if your directory is always the same you'll have a filename only

Regards,

michal

Answers (0)