cancel
Showing results for 
Search instead for 
Did you mean: 

Can we archive files using the receiver file channel

Former Member
0 Kudos

Dear all,

I'm looking for a option, where in I want to archive the files being sent to the target system.

Do we have that facility in XI Receiver File communication channel.

Can the same be achieved for JMS Receiver channel.

Kindly give your comments or responses.

Regards,

Younus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

A simple and safe way is to use OS command in the receiver CC. Use OS copy command to copy the received file to another file for archive.

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

You may simply use one more receiver side communication channel to save the file. If you want to receive payload in zip format, then you may use PayloadZipBean adapter module. You may then call it as an archived file

Regards,

Prateek

Former Member
0 Kudos

Hi,

AFAIK only the sender file adapter has such a functionality.

A workaround would be to send the file to a second receiver (for example a archive directory on your PI server).

Regards

Patrick