GOURABKETAN
(Gourab Ketan Pandey)
1
We are trying to read BIX extract from pegacloudrepository/bix with a file listener, but getting below exception
ERROR File.BIXFTPListener admin - Unexpected exception caught during processing.
com.pega.pegarules.pub.PRException: Unable to create ‘work’ directory ‘file://pegacloudrepository:/bix/work_BIXFTPListener’.
Do we need any kind of extra access on the Operator configured so that Listener can create directory in Repository.
If so please assist with the process.
@GOURABKETAN
It’s trying to create directory work. It could be one of the below:
- Trying to create the directory work. But actually do we need to create a directory every time it reads the file?
If not create it manually on FTP and just give the path to pick the file.
-
On other hand it might be actually treating work_BIXFTPListener as 2 different directories. Please avoid ‘_’ in any of the pega rules created.
-
If it’s not a pega rule then most likely you need to provide access to create directories & read or copy files on the FTP server.
Ideally it would be some credentials that give access to the ftp listener on the external server.
‘file://pegacloudrepository:/bix/work_BIXFTPListener’.