cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Server - FTPing

Former Member
0 Kudos

I need to FTP a file to a remote server and for this I need to write a Shell Script. Would some one help me please?

1) Using the NFS File Protocol I need to write the Target file into XI server

2) Then Connect to the Remote FTP Server and to the Specific Directory

3) Then FTP the file from XI server to the Remote server.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi jenni,

You can execute a Unix script running in the XI server from the File communication channel. Ie. if you want to do something which was not part of XI adapter configuation , then you can make use of external unix script and you can execute those from the XI.

For this, write a unix script and place in the XI OS level provided that path is accessible from PI Channel.

E.g

So u can use this in either Sender Channel to modify the data before it reaches into the Integration Server or in Receiver channel it is generally used to transfer the files into different location via Secure FTP

SAP help: http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Blog:/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi

<i>XI can be in any OS.</i>

thanks and regards

harsha vardhan.P

***Reward points if found useful**

Former Member
0 Kudos

I forgot to mention that, our XI is on the UNIX server. so I need Unix Shell script please.

Thanks.