cancel
Showing results for 
Search instead for 
Did you mean: 

Shell script scenario

Former Member
0 Kudos

Hello,

wanted to know how will shell sctipt scenario need to be configured.

there r no integration repository objects as no mapping.

1) sender channel picks files : and OS command before message processing : script encrypts and deposit in a folder.

2) do we need recv channel?

3) what config steps will be needed?

basically i need to send encrypted file to a website(HTTP).

Thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Your design should be like this:

Create two folders. In one folder let abc you have the original file. Use file sender communication channel OS script to encrypt this file and drop in a different folder say xyz. Now you configure you communication cahnnel to pick the encrypted file from xyz location. No IR. ONly id is required.

First time you will not have any scenario running in XI, but your file encrypted and second time your encrypted file scenario will working. Hope it make sense to you.

Regards,

---Satish

Former Member
0 Kudos

1) So for dropping in xyz : i need to do via script only using MOVE command?

2) So we do not need recv channel? we will encrypt and drop via script . then another scneario to pick encrypted and drop to destination?

Former Member
0 Kudos

>>basically i need to send encrypted file to a website(HTTP).

Then your sender will be File adapter and have OS command before message processing and receiver will be HTTP.

it will be done in a single scenario until and unless your requirement is something else.

Thanks

Aamir

Former Member
0 Kudos

Hi,

For dropping into xyz location your script is going to care. In the script write the commands to encrypt the file and then move to xyz folder. Its only one scenario. Simple file to http. When it first runs you dont have anything in xyz folder, but your script will run. So it moves into xyz folder. Then when it runs for the second time it fixed from this xyz folder.

Regards,

---Satish