I have a workspace which goes off to the www to download a file for processing further along the workbench. Once the task has completed how can i automate deleting all contents of the specified folder. I am aware of directory watch to do something when a folder is modified or deleted, but i just want to delete the contents.....
Solved
How can i automate the deletion of a folder???
Best answer by geomancer
For me, TempPathnameCreator would be the way to go.
Start with a Creator, followed with a TempPathnameCreator, a HttpCaller to download your data (save as set in the TempPathnameCreator), and finally use a FeatureReader to actually import the data.
No need to worry about removing your download later.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.