on 05-26-2006 7:18 PM
Hi
Please help me to understand this.
1. Adapter: FILE
2. Transport protocol : FTP
3. Message Protocol : FIle
4. Direction : Inbound (receiver)
Please correct me if i am wrong.
1. XI can NOT execute a OS command/ shell script on the receiver FTP server.
True/false
2. XI Can execute a OS Command/Shell scripton only on XI BOX.
True/false
3. I need to change the file permissions after putting the file on the receiver FTP server. What are my options
Thank you
Ganges Leaves
Hi Ganges,
<i>1. XI can NOT execute a OS command/ shell script on the receiver FTP server.</i>
True,
The OS Command for the file adapter only runs on the system in which the Adapter Framework is running.
<i>2. XI Can execute a OS Command/Shell scripton only on XI BOX.</i>
As above
<i>3. I need to change the file permissions after putting the file on the receiver FTP server. What are my options</i>
Using Shell Script execution it is possible. You are executing Shell Script in XI box. Inside your shell script you can ftp/sftp programatically and connect to the FTP server and change the permissions. If you are doing like this, then my suggestion is dump the file into XI box using NFS protocol and then using shell script FTP the Files into FTP server and change the permission.
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ganges,
You are going to execute one shell script which is in XI box. But this shell script will connect to FTP server using ftp commands inside the shell script and it will copy the files from XI server into FTP server. Once you copy this into FTP server you can change the permission programatically..in the Reciever FTP server
Sender->XI->Shell Script (it should contain code to connect to FTP receiver)->FTP receiver
So your scenario is Source->XI->File using NFS so that you have files written into XI box. This adapter calls shell script to copy the files into FTP server and once you are able to logon Recever FTP server then you can do permissions whatever..
Thanks,
Moorthy
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.