File name should be with sequence
I am working on file(NFA) to SFTP scenario with out mapping . I am getting file from AL11 folder with the name of XXXX_20150404033752.csv and receiver side (in PI) im getting file name as XXXX_20150404-040420-142.csv. But it should be 20150404033752_001_csv with out "-" and it should be sequence of 001, 002,... .
For example, if the files were given a name corresponding to a time stamp, the first file might be called 20150404040420_001. The second would be called 20150404040420_002. These files were both named after the date and time stamp April 04, 2015 at 04:05:02.
Without doing any mapping can I do this?
Thanks in advance,