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
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Introduction to Talend Open Studio for Data Integration.