Forum Discussion

Pakhi's avatar
Pakhi
New Contributor III
4 years ago

File Rename but not able to replace

Hi All,

I am facing one issue in one of the scenario. Please Help.

I have a source file name in source path Ex: a_b_abc_test_120_7568.xml
I want to rename this file in different format Ex: a_babctest_120_7568.xml
I have written one code in mapper and changed the format.but after changing the format i want to replace the original file with the renamed filename and delete the original one.

3 Replies