on 01-29-2007 7:17 PM
Hi,
I have an issue with the file adapter in OS Command execution , i'm trying to this shell script:
-
#!/bin/sh
HOST='x.x.x.x'
USER='xxxx'
PASSWD='xxxxx'
FILEPARTY='partyOut.dat'
FILEPOSTAL='postalOut.dat'
FILETEL='telephoneOut.dat'
FILEMAIL='emailOut.dat'
ftp -n $HOST > /sapinstall/XI/ftp.log 2> /sapinstall/ftp.err << END_SCRIPT
quote USER $USER
quote PASS $PASSWD
bin
cd /ilytics/data/incremental/input/
put $FILEPARTY
put $FILEPOSTAL
put $FILETEL
put $FILEMAIL
quit
END_SCRIPT
exit 0
-
when i execute this script directly from the command prompt works fine , but when i execute from XI File adapter in parameter "execute OS after message process" can't make the upload ...
The shell is on the XI side , the user for the connection have all permissions , i need make special configurations for this kind of scripts????,
regards
Also, i want to tell you one more thing. Even if its executed and if ftp fails, you wont see that any where in XI.
Its better to use some other softwares like Control-M which have total control and alert handling in case of these FTP transactions.
XI command line thing can be used for simple commands like chmod etc etc to give sufficient permissions for the file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.