cancel
Showing results for 
Search instead for 
Did you mean: 

error in picking the file from folder

Former Member
0 Kudos

If I have 100 files in a folder, if XI comes and picking the files from the folder, while picking 50 files connection was lost in between and they are remaining 50 files are there to pick, in this scenario what happens after connection established XI will collect remaining 50 files or again it starts from first.

Can anyone answer this question with explanation.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This depends on what you have configure in

Processing parameters for File Sender communication channel:

Processing mode:

1. Archive : if you have set processing Mode as Archive then after reading the file, PI will transfer the file to Archive dir mentioned and will not consider in future for reading.

2. Delete : if you have set processing Mode as Delete, Then after reading the file PI will delete the file from FTP.

3. Test : If you have set processing Mode as Test ,then PI will keep the file as it is after reading so it will read the same file in future.

Thanks

Bhupesh

Answers (4)

Answers (4)

Former Member
0 Kudos

Shyamal,

It depends on the way you have set up the Sender file channel, if you have specified "delete" then it will pick the file and delete it, if you have specified "test" then it will try picking the files for the polling interval mentioned.

Regards,

Pavan

Former Member
0 Kudos

Hi,

It depends on File sender communication channel configuration(Processing Mode) For example if you have configured to archive/delete the file after the file/message process then XI will process the remaining files in the folder. If you would have kept u201Ctestu201D as the Processing Mode then it will reprocess all the messages.

Regards,

Venu V

Former Member
0 Kudos

Hi,

After Connection lost, XI will again pick up the Files from Folder from start as per File Name specified in Channel.

YOu should keep your channel in Delete Mode ( Processing Mode). So, Files should be deleted after picked up by File Adpater or Should be archived to some location.

Hence even after connection lost same files will not picked up from Folder.

Don't keep File Adapter in Test Mode.

Regards,

Anurag Garg

Former Member
0 Kudos

You could either archive the read files in another folder, which means that each successfully picked file is automatically transferred to another folder or you could set the picked files to read-only which als has the effect that those files are not picked by PI anymore.

Both scenarios can be set in the sender file adapter.

Cheers,

Mane

Former Member
0 Kudos

Mane,

Thanks for the answer. but i have one doubt. if the file is in process not completed then in that scenarios what i need to do. Half of the file is transferred to the target system but remaining still on the sender side.

Let me know.

Former Member
0 Kudos

Kumar,

If there is a communication error while reading the file and if it is in the middle, then xi will not pick the file. It will load the file into its memory only once it read the whole file. So for your question the answer is xi will not pick the file and once the communication is there it will pick the file in its next polling interval.

We will not put in test mode if the interface is in production. We put test in dev and qa only for testing purposes. If it is in Test mode in production the data will be duplicated and it is not recommended.

Regards,

---Satish

Former Member
0 Kudos

Hi,

In some cases, the file will stuck up in the XI ( for Ex:adapter Engine). Then you can go to the below mentioned link and resend the same message to the target system.

http://hostname:port/mdt/index.jsp

Regards,

Venu V