cancel
Showing results for 
Search instead for 
Did you mean: 

File Server

Former Member
0 Kudos
50

Hi,

Our Scenario is:

File -> XI -> R/3

We place a file in the file server (a specified folder in the server).

XI does Polling every 1 minute to pick the file.

After picking the file, a copy of the file is placed in the archive folder (which is also present in the same server).

The changes that we require now is:

Before XI does the polling the file name has to be checked against the files that are already saved in the archive folder.

If the file name already exists, then the file name should be changed and placed in another folder.

Could you kindly let me know what are all the possiblities to implement this change?

Kind Regards

KA

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Maran,

I would not do this with XI.

The application that writes the files on the server should care!

Consider! You must also implement the fallbacks if the server should go down while processing the files.

I suggest to make the application responsible.

Regards Mario

Former Member
0 Kudos

HI Mario,

We suggested the same to the client already, but they want it in XI.

So, is there any possiblities of doing the things in XI?

Kind Regards

KA

Answers (2)

Answers (2)

Former Member
0 Kudos

In that case maintain a list of input files already processed....and next time XI picks a file...reject the file if its already used by looking at the list maintained...

Former Member
0 Kudos

Hi,

With the above explination ,see the below also,

try with OS Runtime operating system command / batch file in file adapter itself to check the file.

or maitain a program to check the folder and replace or as per your reuirement and schedule this program for a period of interval.

you can search some couple of blogs are available for this type of task.

Regards

Chilla