Skip to main content

Currently it is not supported. However, I do think it would be a nice (non-scripting) alternative for existing methods like the ones that are described in this post:

https://knowledge.safe.com/questions/2948/file-copy-delete.html

Yes, the DELETE in File Operation beside MOVE and COPY in File Copy writer would be really handy for not hardcore geek FME users.

There are non-scripting workarounds with with the MOVE operation.

- Linux (obvious one): set filecopy_dest_dataset attribute to /dev/null

- Windows (less known one): set filecopy_dest_filename to nul (single l). It is advised to set the filecopy_dest_dataset to a folder on a local drive as UNC path may cause problem.


Ah - didnt know this Windows trick - thanks! Have been using a pythonscript for this!

 

 


Meanwhile - created a FileDeleter (not using python, but the FeatureWriter instead) - to make it easier for people to delete files: https://hub.safe.com/publishers/sigtill/transformers/filedeleter


This custom transformer moves the folder, but does not delete it.


OpenGathering Interest

Gathering InterestIn Development

In DevelopmentReleased