web stats
File Reader - Prevent Deletion of Filtered messages - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-10-2019, 07:19 AM
DWinship DWinship is offline
What's HL7?
Join Date: Jun 2019
Posts: 1
DWinship is on a distinguished road
Default File Reader - Prevent Deletion of Filtered messages

Is there a way to prevent the File Reader from deleting files that are filtered in the Source Filter when the After Processing Action is set to Delete?

Alternatively, short of calling JSCH to perform an entirely separate SFTP connection, is there a simple way to script a remote file delete as part of, say, the destination's Response script? I see that FileUtil has a deleteFile function, but I'm not sure how to get/construct the path to the remote SFTP file in order to instantiate a File object to feed it with.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 02:03 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation