cancel
Showing results for 
Search instead for 
Did you mean: 

File Encryption

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

ravi_raman2
Active Contributor
0 Kudos

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