cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter - delete empty/small files

Former Member
0 Kudos

Hi, are there any way to configure the sender file adapter to delete and not pick up empty files or files with, say, max. 4 bytes of size?

Thanks!

View Entire Topic
MichalKrawczyk
Active Contributor
0 Kudos

hi Rune,

if the file is <b>empty</b> it will be deleted

in standard (with the file adapter)

no need to do anything

and it will not be processed by the XI

if you want to check for <b>small files </b>you can use this approach:

/people/gowtham.kuchipudi2/blog/2006/01/13/stop-creation-of-an-empty-file-from-file-adapter-using-module

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Thanks!

MichalKrawczyk
Active Contributor
0 Kudos

no problem

Regards,

michal

Former Member
0 Kudos

Hi,

are there any way to configure the sender file adapter dont delete and pick up empty files ?

Thanks!

Former Member
0 Kudos

Hi

If the file naming conventions are different for the file containing data and zero byte file then you can use expressions to block the zero byte file from being picked up.

Regards

Vijaya