on 09-03-2015 3:50 PM
Hi Experts,
I am looking for an exact OS command to be used in Receiver File channel to copy the file placed in target directory to another directory as well.
Ideally i am picking 2 files status and data files from file server and placing the file in PI directory.Then i need the same data file to be copied to another directory as well for further processing.
I am using the command cp -r /sourcedirectory/filename /targetdirectory1.
The command is executed but file is not getting copied.
For testing purpose i am placing the file in shared folder and picking from there and placing in another shared folder.
Original path from where i am picking the file is like : \\sourcedirectory\FolderA and target path is \\targetdirectory1\FolderB
Please suggest what command should i use.
Regards
Rajat
Thank you experts..issue has been resolved i got the exact command and able to copy the file.
PI is being hosted on Windows server:
So to Copy use the below command:
xcopy SourceDirectory(Include the filename also) Target Directory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajat,
Refer the below blog Link.
SAP XI File Adapter OS Command Line Feature - Process Integration - SCN Wiki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.