Skip to Content
avatar image
Former Member

File Encryption

Hi,

I am working on encrypting a file through script. I am calling this script from the receiver file channel using option "Run OS Command after message processing".

When i login to server and run the script through command prompt, encryption is working fine. But when i do the same by calling the script through comm. channel it is not working.

The message is getting stuck up in RWB under adapter engine msgs as "Delivering". Also if i check the task manager on the OS of the server the relavant task is getting stuck up.

Please help.

Thanks in Advance!!

Sudheer

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 06, 2009 at 02:06 PM

    Instead of calling OS command in file adapter, write a shell script and call the shell script by providing the complete shell script path in 'Run OS Command after message processing" of file adapter.

    In the shell script induce a delay (using sleep command) before you actually call encription command.

    Not sure whether this works.But a try is always worth.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The sleep will only delay it, nothing else, output the trace to a text file.

      How are u encrypting it, as in whats the procedure, Batch invoking anything else ?

      Regards

      Ravi Raman