I have data going through feature writer that creates my csv, that then is uploaded to azure file storage using its connector in fme, once I successfully upload the csv, I want to delete that file from FME_DATASOURCE where I wrote it in the earlier step. How can I do that ?
When I do this I use the TempPathnameCreator to create a path to temp files, write the csv to the temp path and upload it. This way the source file will be cleaned automatically. Alternatives are SystemCaller, PythonCaller or FileCopyWriter.
Thanks Nielgerrits
Another solution that I discovered myself is, Good thing that I was keeping exploring other transformers present]
After creating the csv using featurewritter I used a list exploder that helped me having each file name generated into its own feature value, that I used later to delete the respective file from the area using File Deleter transformer where I created them DYNAMICALLY.
It will be helpful for anyone who might have a similar query.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.