The Directory and File Pathnames (PATH) reader in conjunction with the File Copy writer is very useful to construct or rearrange the directory hierarchy in the disk system.
The features from the PATH reader have several attributes storing file path components (full path, directory path, file name with extension, file name without extension, and extension), but the parent folder name is missing.
C:/abc/xyz/parent/file.ext
Of course it's easy to extract the parent folder name from the full path or directory path using a transformer such as the FilenamePartExtractor, but I feel something redundant.
Sometimes the parent folder name will be used to create a new attribute (e.g. the destination file name), so I think it would be more convenient if the PATH reader could retrieve the parent folder name (e.g. "path_foldername").
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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 an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.



