cancel
Showing results for 
Search instead for 
Did you mean: 

How File/FTP Adapter processes the archives

Former Member
0 Kudos

Hi forum,

I have the following doubt:

We have the following scenario:

a File/FTP Adapter takes archives of a path to process them. The Poll Interval is in msecs.

The back-end SAP write two archives in the same msec

(for example: FILE_01_20070412_13:37:00-001 & FILE_02_20070412__13:37:00-001; [name_sequential_yyyymmdd_hh:mm:ss-msecs]),

<b>Which of the 2 files process first?</b>

The reason for this doubt is because we must create a scenario in order to that of a same directory the back-end will leave 2 types of archives, but one must be processed before that the other. <i>Any idea?</i>

Kind regards.

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

In your sender file adapter you have the option <b>Processing Sequence</b>

1. By Name

2. By Time.

So, if you select By Name the files matching the Source Filename will be sorted by the Alphabetically and then processed.

If you select By Time, the time of creation of the file will be used.

Regards

Bhavesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Bhavesh,

Thanks for you answer

Former Member
0 Kudos

Hi cool,

In your scenario you can use BPM and also implement transport acknowledgement.Acknowledgement gives you the confirmation of first file write then you can procced for another one.

Cheers!

Samarjit