cancel
Showing results for 
Search instead for 
Did you mean: 

Problem picking up files by ftp

Former Member
0 Kudos

Hi everybody,

Sometimes I have had the following problem:

For example, the following scenario: a third system leaves a file in a specific folder and then XI is going to pick up this file.

The problem comes when the ftp adapter is picking up a file from this folder before the file had been written completely, so not all the information from the file is passed to XI.

The question is, How can I be sure that the file is written completely before being picked up?

Thanks in advance,

Regarda,

Carlos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

check on this File adapter proprty:

<i>Advanced Mode

To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.

Msecs to Wait Before Modification Check

Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.

This parameter is not available if you have selected File Content Conversion as the Message Protocol and then made an entry under Recordsets per Message that splits an input file into several messages.</i>

Regards

Vijaya

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

use the option

Set Msecs to wait before modification check property under the advanced mode in your sender adapter.

Also have a look at this thread to give you more ideas on its control.