Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm kind of rookie with Talend things, and I want to delete all files from ftp folder. I'm using tFTPDelete component:
- When I use "*.*" as filemask, it raises exception => I suspect this is because filepattern matches the ".." pseudo file (parent dir)
- When I use "*.???" as filemask, it works for any file having 3 digits length, and no exception is raised. => But I want to delete any file, with suffix of any length, or no suffix at all.
- When use regular expression "^(?!([.][.])$).+$", it deletes some files but not all files. => That regular expression aims at matching all files but ".."
I'm running out of idea How can I delete all files from ftp folder, whatever the filenames are ?
Any help would be greatly appreciated
Regards
You can use combination
tFTPList -> Iterate -> tFTPDelete