on 10-18-2007 6:34 PM
HI
I was wondering if file adapters can execute the OS command at the target FTP server where the file adapter is placing the file.
Or can these OS commands be executed at the OS of XI box only.
I need to execute a command at the target FTP server end.
Regards
Nikhil
There is another option, create a java pgm ..simple one..
public class...zys{
Process p;
Runtime rt;
p = rt.getRuntime().exec("YOUR STRING COMMAND");
}
Create this ..as the file and post it, also look up how to add this to scheduled tasks..or crontab...to run and use that to run your command on the target system..it works very well, thats what i do.
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
as said by Bhavesh,the OS level command is executed on XI server itself ,a way around can be that u execute a script via OS command on XI server,now this script will invoke another script on the receiver system and its in this script that you can do whatever u want to do on the receiver system,
so basically you will have one script runnin on both XI and receiver system,the XI script will call the second script
Thanx
Aamir
Message was edited by:
Aamir Suhail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OS of XI itself.
File adapter FAQ note on Service market place discusses this.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.