cancel
Showing results for 
Search instead for 
Did you mean: 

Placing file in 2 different dir

Former Member
0 Kudos

Hello All,

Requirement is PI has to place generate and place a file in 2 different locations on the same FTP server.

File name of the first file is "Output_<Timestamp>_<PI servername>.txt"

File name of the second file is "Output.txt"

I am achieving the file name of the first file in message mapping. How can I rename the first file to Output.txt using UNIX script and keep it in the second location?

I refered the below blog:http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

Thanks,

Regards,

Naresh

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

either create a script or use another interface mapping and interface determination along with a new File CC to create the next file.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Naresh,

You have already raised a thread for this query and you have some solutions over there:

Please close either of these threads.

Former Member
0 Kudos

>

> Hello All,

>

> Requirement is PI has to place generate and place a file in 2 different locations on the same FTP server.

>

> File name of the first file is "Output_<Timestamp>_<PI servername>.txt"

> File name of the second file is "Output.txt"

>

> I am achieving the file name of the first file in message mapping. How can I rename the first file to Output.txt using UNIX script and keep it in the second location?

>

> I refered the below blog:http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

>

> Thanks,

>

> Regards,

> Naresh

I don't understand clearly... you need the unix shell script?