cancel
Showing results for 
Search instead for 
Did you mean: 

Writing OS Script to use at file CC.

Former Member
0 Kudos

Hi ,

I have a Requirement in which i have to write a script and use the script as OS command in sender file adapter.

Requirement --

When ever the communication channel read a file from directories at FTP server delete that file and paste that file in different folder at FTP server.

I have no knowledge with OS script . My server is running on Microsoft server 2008.

Please let me know how to write a script and where to place the file in XI server.

Regards,

Navneet

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Please find info about using OS command in File Adapter in links below:

/people/santhosh.kumarv/blog/2008/07/27/glimpse-at-os-command-yet-another-scenario

/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions

http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

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

What concerns path for Script i usually use /usr/sap/bin/ but i think that you can choose any available path on your PI server.

BR,

Dzmitry

Former Member
0 Kudos

Hi,

Thakns for the reply.

I gone through these links but my FTP server using the SSl ,and it is giving an error as 534 policy requires SSL.

any clue how to make an Secure SSL connection to FTP.

I am trying to write the code in Command prompt.

regards,

Navneet.