Skip to main content
Solved

Delete files from sourcefolders after writing and copying

  • July 15, 2022
  • 2 replies
  • 357 views

franco69
Contributor
Forum|alt.badge.img+8

Hi guys......

i have a workflow where i source .xls files out from 3 different folders  e.g. C:\\temp\\PA8\\Lists, C:\\temp\\PA9\\Lists, C:\\temp\\PA7\\Lists

 

and split them (about an specified attribute) into many .xls files into another folder

e.g C:\\temp\\PA8\\splits, C:\\temp\\PA9\\splits, C:\\temp\\PA9\\splits

 

and additionaly i copy the source files with the filecopy writer into another folder

e.g C:\\temp\\PA8\\done, C:\\temp\\PA9\\done, C:\\temp\\PA9\\done

 

all that is working well!!!

 

BUT i want to empty the source folder after this processing in the same workflow......is this possible.....i have tried the Custom transformer File Deleter but i didnt get it how it works....any solutions or workarounds?

 

Cheers and Greetz

Franco

Best answer by muzhnasto

Hi @franco69​ why can't you set the MOVE parameter instead of COPY at this stage?

"and additionaly i copy the source files with the filecopy writer into another folder

e.g C:\\temp\\PA8\\done, C:\\temp\\PA9\\done, C:\\temp\\PA9\\done"

imageor read https://community.safe.com/s/question/0D54Q000080hRpdSAE/file-copy-delete

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.

2 replies

muzhnasto
Contributor
Forum|alt.badge.img+12
  • Contributor
  • Best Answer
  • July 15, 2022

Hi @franco69​ why can't you set the MOVE parameter instead of COPY at this stage?

"and additionaly i copy the source files with the filecopy writer into another folder

e.g C:\\temp\\PA8\\done, C:\\temp\\PA9\\done, C:\\temp\\PA9\\done"

imageor read https://community.safe.com/s/question/0D54Q000080hRpdSAE/file-copy-delete


franco69
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • July 15, 2022

Hi @franco69​ why can't you set the MOVE parameter instead of COPY at this stage?

"and additionaly i copy the source files with the filecopy writer into another folder

e.g C:\\temp\\PA8\\done, C:\\temp\\PA9\\done, C:\\temp\\PA9\\done"

imageor read https://community.safe.com/s/question/0D54Q000080hRpdSAE/file-copy-delete

oh.....i didnt see that.......cool.....thx for that

you saved my day