It would be nice if there were a built-in transformer that would check if the supplied directory exists and is writeable and optionally create it if it doesn't exist.
There are a few transformers that can write to files directly, and they will fail if the directory doesn't already exist. For example the HTTPCaller with Save Response Body to File.
I do have a python script that does it, but wrapping it in a custom transformer get tricky with parameters [see python-caller-user-parametersl]
Archived
DirectoryChecker/Creator transformer
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.