Skip to Content
avatar image
Former Member

Shell script scenario

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 14, 2009 at 06:40 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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