I am trying to delete a specific list of files from one of my directory, but unfortunately I fail. For this, I use: tFileList - iterate - tFileDelete properties for tFileList: Directory path, Filemask: "xls" properties for tFileDelete: Filename: ((String)globalMap.get("tFileList_1_CURRENT_FILEEXTENSION"))
But unfortunatelly it is not working. Can someone help?
You job is looking for files with the name "xls" in tFileList and your tFileDelete component does nothing because there is no file named "xls". For Filemask you will need something like "*.xls" (this will return all files with file names ending with .xls) and the file name in tFileDelete will have to be ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")).