Handling large files (100 MB) with the BusinessConnect inbound file poller.

Handling large files (100 MB) with the BusinessConnect inbound file poller.

book

Article ID: KB0094518

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect -
Not Applicable -

Description

Resolution:
Description:
============
When receiving a large file (> 100 MB) on to the location where BC is polling, the file is picked by BusinessConnect before it is completely copied.
The foillowing error is reported : "The process cannot access the file because it is being used by another process".

Environment
============
TIBCO BusinessConnect 5.X.X

Cause:
======
The inbound file poller will try to access the file as soon as it appears in the directory, whether or not it is fully written.  The error occurs because another polling cycle occurred before the file was fully transferred by the previous polling cycle.

Resolution:
=========
With a large file, a filter specification should be used with file poller directory.  The large file should be moved  into the directory using a filename that does not match the filter. Once the file has been transferred, rename the file to match the filter so it will be uploaded.

Issue/Introduction

Handling large files (100 MB) with the BusinessConnect inbound file poller.