on 01-20-2015 7:25 AM
I am using Receiver FTP. Today morning I triggered two messages from ECC and I see only one message in the FTP folder.
I don't understand why I see both messages.
My Channel configuratons are like this:
FileNameScheme XYZ_.xml
Processing Parameters
File Construction Mode: Add Timestamp
Put File: Use Temporary File
Temporary File Name Scheme: Blank
Empty-Message Handling: Write Empty File
Maximum Concurrency: 1
File Type: Binary
Run Operating System Command After Message Processing
Command Line /ABC//DEF/File_Copy_Batch.bat
ABC and DEF are Directory Folders and it's the path where I put the batch File File_Copy_Batch
I kept a batch file in the FTP folder but it is not getting archived..
How can I see multiple files in Receiver FTP folder?
The functional team is going to trigger more than 1500 files now from ECC. But I was wondering will it be overwritten
Any suggestions please?
Hi,
Please monitor the files in the channel and the number of messages that are transferred from ECC to receiver in PI so that you could know where exactly the issue is.Could be in the operating systems command probably that you are using that might have overwritten the file.The channel parameters looks fine .
Regards,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Radhika ,
As you are using the parameter File Construction Mode: Add Timestamp then i dont think the files will be overwritten at the receiver side as every file name will be unique based upon timestamps.
Related to your issue : If you are using FIle sender adapter as well(Not mentioned above) then i think the issue can be more on the ECC side when you are triggering files(Source DIrectory) , here if the file names are same and are triggered at the same time then there is a possibility that one file got overwritten by second(Before PI polling interval) , and hence you received only one file at target end.
Just my thought.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Radhika,
Seems issue with your Batch file / dir paths:
1. Are you able to see the messages in PI Monitoring & channel log? Check log if there is any error.
2. Try to remove the Run Operating Cmd from your Channel and try to post messages from sender and check if you are able to see multiple files in FTP folder
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azhar
I am able to see both messages in the PI Monitoring and Channel Log
There is only one Error line in the Channel Log. It says
Error executing OS Command "/ABC/DEF/Batch_Copy_Batch.bat"
I have placed the batch file in the FTP folder. I think the error is because of that. I need to place the file in the PI server as the OS Command will be executed only on the PI server.
My concern is why I am unable to see multiple files in FTP receiver directory
I will try with what you suggested
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.