cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver FTP files not visible

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

The number of messages in PI channel log are same as that triggered by ECC.

OS Command is wrong

Former Member
0 Kudos

Perfect 

Former Member
0 Kudos

Hello Radhika ,

Why you are using thsi parameter in the channel config?

Put File: Use Temporary File

It should be set as create/write.

Thanks

Former Member
0 Kudos

I don't have that option.

For Put File, I have only two options

1) Use Temporary File

2) Directly

Former Member
0 Kudos

In PI monitoring and channel log, there are two messages. One with a timestamp 112055 and another with a timestamp 112844. I see only the 112055 message in the FTP server.

The last message successfully processed by PI is not ther in FTP folder

Former Member
0 Kudos

Try to use directly and then see the results.

Thanks

Former Member
0 Kudos

Thanks a lot, Gaurav

I changed it to Directly and all the 1500 files are there in the FTP server

Radhika

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

I am using File adapter.

The timestamp is like this XYZ_20150120-112055-303

I guess the 303 refers to milliseconds.

So I don't understand why it's getting overwriten.

azharshaikh
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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