Dr.Gopala krishnam raju AMBATI

delete export file

6 posts in this topic

made solution made scripts to export data and import automatically into customised folder but i dont want the export file to be in that folder i want it to be deleted  through script is it possible if yes someone please guide me to script please

Share this post


Link to post
Share on other sites

A couple of ways:

- an easy - but unintuitive - FM way is to export an empty field to the same file name; FM will delete the target file

- or use Send Event and use the OS CLI to delete the file

- (if you are already using a plugin with file manipulation functions, then it can be done that way too)

1 person likes this

Share this post


Link to post
Share on other sites

wow nice idea sir will change the file tx a lot sir will try and let u know

wow i made it tx sir did as u said saving my hard works billion thanks sir :beer:

Share this post


Link to post
Share on other sites

You can also use Export Field Contents and skip specifying the field.  There are a few more ways as well, such as exporting 0 records using same path file name.  All similar principle so it's which you like best.  I like Export Field Contents; picked up from Comment, I suspect.

2 people like this

Share this post


Link to post
Share on other sites
21 hours ago, LaRetta said:

You can also use Export Field Contents and skip specifying the field.  There are a few more ways as well, such as exporting 0 records using same path file name.  All similar principle so it's which you like best.  I like Export Field Contents; picked up from Comment, I suspect.

mind blowing got what i want :beer:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now