cancel
Showing results for 
Search instead for 
Did you mean: 

What is better a shell script or a user exit?

Former Member
0 Kudos

Hi experts!

I need to change the owner of a file when I send it to XI sever.

I talk with the administrator of the system to change the owner with a shell script but he tell me that is better if I use a user exit. But my question is: What is better? The shell script or the user exit?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

People, Thanks very much for your help!!

But I have other question:

What is the diference between NFS and FTP to get a file in other server?

Thanks!

Former Member
0 Kudos

Carlos

NFS is basically used to pick or drop the files from XI. But if the files are on a different system then to pick or drop the files you need an FTP.

---Satish

moorthy
Active Contributor
0 Kudos

Hi,

Both are used to Transport files. FTP is used to get the file from FTP server. But NFS is from file system.

So file system is placed in the XI server. So it is directly accessible to the XI. So it is good interms of performance etc. No connection to external server here.

Hope this gives some hints

Regards,

Moorthy

moorthy
Active Contributor
0 Kudos

Hi Carlos,

<i>What is better? The shell script or the user exit?</i>

>>I am not sure, what is better.

But my suggestion is to go with Shell Script as anyway you are using File Adapter, so you can execute OS command.

Inorder to go with User Exit, you need to have some program/proxy to do this. It should execute from XI or you need to schedule it..

Just my views~

Regards,

Moorthy

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>I talk with the administrator of the system to change the owner with a shell script but he tell me that is better if I use a user exit

maybe because the admin does not do the user exits ?

you can do it with XI but you'll have to create it

via a proxy for example (as standard file adapter does

not support this)

on the other hand the file adapter supports invoking

system commands (so you can start a shell script)

I'm not directly answering your question

I'm just telling you what you'll have to do

to build your solution in both cases

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>