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 unable to move files

SA-53567

Summary



File listener is unable to move files, during processing, from a source location to a completed folder.


Error Messages



Not Applicable


Steps to Reproduce

  1. Place a file in the source location.
  2. Open the file manually and acquire the lock from the Operating System level.


Root Cause



The File Listener processed files in the source location. After processing, the file moved to either the Completed or the Work subdirectory depending on the File Listener configuration and whether the file processed correctly. During processing, the file is read and processed multiple times if it was opened by the Operating System (specifically Linux). However, it cannot be moved until the Operating system released the lock.

For more information, refer to: https://pdn.pega.com/sites/pdn.pega.com/files/help_v722/procomhelpmain.htm#data-/data-admin-/data-admin-connect-/data-admin-connect-filelistener/related.htm



Resolution



Perform the following local-change when copying files to these directories:
  • Do not open a file while it is being processed.
  • Do not copy a new file over an old file while it is being processed.
  • Use a different file name every time (for example, append a time stamp to the file name before copying it).

Published July 26, 2018 - 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?

Want to help us improve this content?

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
Contact us