cancel
Showing results for 
Search instead for 
Did you mean: 

Empty file handling on Seeburger HostFTP adapter

0 Kudos

Dear friends,

I have a requirement to ignore empty files on a HostFTP (Seeburger) sender channel. I know this feature is available on normal FTP & sFTP adapter as well, but don't see that on HostFTP.

These files cannot be handled at source side due to technical limitations, so need to be handled in PI. I was thinking of ignoring this file on Receiver Determination with some conditions, but this may ignore other category of messages from failing.

Please help me giving some inputs.

Thank you in advance!

Regards,

Kumaran

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

These files cannot be handled at source side due to technical limitations, so need to be handled in PI. I was thinking of ignoring this file on Receiver Determination with some conditions, but this may ignore other category of messages from failing.

I'm not sure what you meant by ignore other category of messages from failing. In your receiver determination, you can use the context object called sourceFileSize to fail it in receiver determination

The above is just an example

Hope this helps,

Mark

0 Kudos

Thank you so much Mark.

This solution helps me.

Regards,

Kumaran

Answers (0)