cancel
Showing results for 
Search instead for 
Did you mean: 

Same output file in multiple directories.

0 Kudos

Hi,

I am working on a Proxy to File scenario where a target csv file is generated by PI. The requirement is that PI needs to generate a csv file and post that file in 4 separate directories of a same FTP server.

I intend to do that using single comm channel in PI to avoid point to point approach.

What's the expert opinion here?

Cheers

Rasif

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use OS command line feature for the same.

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=71909

0 Kudos

Guys... The writing of script to copy files has been ruled out since we are not allowed to place script files on FTP server.

Regards

Rasif

KennethEriksen
Participant
0 Kudos

The script will not be located on the FTP-server as PI cannot execute remote scripts, it has to be located locally (i.e. the PI-server). But the script will contain commands to connect to FTP-server and copy the file from first folder to the other folders.

-Kenneth

0 Kudos

A complete NO has been said to usage of scripts. Now going for multiple comm channels.

Thanks for all the responses!!

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rasif,

Your requirement can be easily achieved by OS level command/script. But, if that is not possible, I think you have to opt for the multiple channels.

PI has a limitation that configuring multiple target directories in a single receiver communication channel is not possible.

Regards,

Subbu

former_member463616
Contributor
0 Kudos

Hi,

As suggested by Amit, you have to use OS Command line feature.

Please see the below thread, it mgiht be useful to you.

maciej_jarecki
Contributor
0 Kudos

HI

Use BPM or write simply custom java module. In my opinion second option is better aproche

Regards

Maciej

former_member472138
Active Contributor
0 Kudos

You can achieve it using single channel, if you could use the feature RUN OPERATING SYSTEM COMMAND AFTER MESSAGE PROCESSING. Where in you only have to add script to copy the same in different locations.

Regards

Pothana