Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

File Listener is processing an incomplete file

SA-78888

Summary



File Listener processes a file that is not uploaded completely.


Error Messages



Not Applicable


Steps to Reproduce


 

SFTP a large file to the file listener source directory with a file name that the file listener mask can pick up.


Root Cause



A third-party product issue.


Resolution



Make the following change to the operating environment:
  1. Create the file with a name that is different from what the listener expects. 

    For example, when the listener searches for <file pattern>.txt, create the file with <file pattern>.tmp (or any other other pattern that will work for the use case and ensure that it is excluded from the listener pattern).

     
  2. Rename the file as soon as the file completes writing out.
Or,

Manipulate the permissions on the file as below:
  1. Create the file with permissions that do not allow the file listener to see the file.
  2. Change the permissions to expose the file when complete.

Published May 2, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice