Skip to main content
ReleasedFME 2025.1

Add Delete option for File Copy Writer

Related products:Integrations
siennaatsafe
danilo_fme
sigtill
tcrossman
vxn43
+37
  • siennaatsafe
    siennaatsafe
  • danilo_fme
    danilo_fme
  • sigtill
    sigtill
  • tcrossman
    tcrossman
  • vxn43
    vxn43
  • fgiron
    fgiron
  • jelle
    jelle
  • kennyo
    kennyo
  • scoll
  • revesz
    revesz
  • fmeuser_gc
    fmeuser_gc
  • sweco-senari
    sweco-senari
  • tara
  • foeke
  • sdepriest
    sdepriest
  • keoe
  • erooen
    erooen
  • jaircasti
  • mholemans
    mholemans
  • jsmitsman
    jsmitsman
  • chickey
    chickey
  • roland
    roland
  • hsamor
    hsamor
  • sam.mcdonald
    sam.mcdonald
  • timzer
    timzer
  • francois.c
    francois.c
  • ecthelion
    ecthelion
  • kd
  • davidlee
    davidlee
  • robotix
    robotix
  • germang
    germang
  • cfvonner
    cfvonner
  • setld_solutions
    setld_solutions
  • geoportalcartog
    geoportalcartog
  • wicki
    wicki
  • deanrother
  • klingdom
    klingdom
  • mattrodriguez
  • nevilleda
  • johanludvigsson
    johanludvigsson
  • darren_george
  • DanAtSafe
    DanAtSafe

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

7 replies

revesz
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 16, 2018

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.


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • January 17, 2018
Ah - didnt know this Windows trick - thanks! Have been using a pythonscript for this!

 

 


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • January 15, 2020

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


erooen
Contributor
Forum|alt.badge.img+2
  • Contributor
  • May 24, 2023

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


LizAtSafe
Safer
Forum|alt.badge.img+16
  • Safer
  • February 21, 2025
OpenGathering Interest

LizAtSafe
Safer
Forum|alt.badge.img+16
  • Safer
  • February 21, 2025
Gathering InterestIn Development

LizAtSafe
Safer
Forum|alt.badge.img+16
  • Safer
  • March 7, 2025
In DevelopmentReleased

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings