- This topic has 4 replies, 4 voices, and was last updated 4 years, 5 months ago by .
-
Topic
-
Hello all!
I’m attempting to use the fileset-ftp protocol with Advanced Scheduling to SFTP a file containing a week’s worth of messages, but Cloverleaf seems to want to SFTP each message as its own file no matter what settings I use in the Outbound pane of the Fileset Options tab.
The SFTP process works just fine, but how do I configure an outbound protocol thread to save messages to a file, SFTP the whole file on a specific day and time, and create a new file after the file is SFTP’d?
I’m hoping to avoid writing a TPS proc to perform this process, but it seems like Cloverleaf doesn’t have functionality built in to do so.
This is an example workflow I am trying to achieve.
- In an outbound protocol thread, write messages to a file $HCISITEDIR/exec/processes/proc1/file.dat
- On Mondays at 7:30 AM CST, SFTP the file $HCISITEDIR/exec/processes/proc1/file.dat with the name ‘TESTFILE1.HL7’ on the remote FTP server.
- Remove $HCISITEDIR/exec/processes/proc1/file.dat after successful SFTP and recreate the file anew.
- Repeat process every week on Monday at 7:30 AM CST. Each file that is SFTP’d will have a week’s worth of messages.
Cloverleaf version 6.2.2 on AIX 7.1
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.