...
Register or Login to Your Account
Hi , I need to get the list of files from the directory which is located in some other server not the webMethods server. I have used the below two inbuilt functions to achieve this, pub.file.listfiles PSUtilities.file.ListFiles But I'm facing the problem in giving the path in config file. 1.pub.file.listfiles - I have given the below in the fileAccessControl.cnf allowedWritePaths= allowedReadPaths=\\10.0.2.124\Symology\ReturnXML;C:/apps/temp/testData;\\wwubh01ap35\Symology\ReturnXML allowedDeletePaths= It's still getting error "The path has not allowed to read the file", but if I give C:/apps/temp/testData path it's working. 2.PSUtilities.file.ListFiles - I have given the below in the PSUtilities cnf file allowedWritePaths C:\\apps\\wm712\\IntegrationServer\\packages\\WWU_COMMON\\config*C:\\wm712\\test*C:\\wm712\\test.txt*c:\\temp\\write*c:\\temp\\write2*c:\\temp*\\wwubh01ap35\\Symology\\ReturnXML* allowedReadPaths C:\\apps\\wm712\\IntegrationServer\\packages\\WWU_COMMON\\config*C:\\wm712\\test*C:\\wm712\\test.txt*C:\\temp\\read*c:\\temp\\write*c:\\mydown~1*c:\\*\\wwubh01ap35\\Symology\\ReturnXML allowedDeletePaths C:\\apps\\wm712\\IntegrationServer\\packages\\WWU_COMMON\\config*C:\\wm712\\test*C:\\wm712\\test.txt Still I'm getting the error. Tried with the both of the option still couldn't resolve the issue, I guess the path format is incorrect. Can anyone help me in getting the correct path (\\wwubh01ap35\\Symology\\ReturnXML) for this to be configured in the config file.
yuva
Hi ,
I need to get the list of files from the directory which is located in some other server not the webMethods server.
I have used the below two inbuilt functions to achieve this,
pub.file.listfiles
PSUtilities.file.ListFiles
But I'm facing the problem in giving the path in config file.
1.pub.file.listfiles - I have given the below in the fileAccessControl.cnf
allowedWritePaths=
allowedReadPaths=\\10.0.2.124\Symology\ReturnXML;C:/apps/temp/testData;\\wwubh01ap35\Symology\ReturnXML
allowedDeletePaths=
It's still getting error "The path has not allowed to read the file", but if I give C:/apps/temp/testData path it's working.
2.PSUtilities.file.ListFiles - I have given the below in the PSUtilities cnf file
allowedWritePaths C:\\apps\\wm712\\IntegrationServer\\packages\\WWU_COMMON\\config*C:\\wm712\\test*C:\\wm712\\test.txt*c:\\temp\\write*c:\\temp\\write2*c:\\temp*\\wwubh01ap35\\Symology\\ReturnXML*
allowedReadPaths C:\\apps\\wm712\\IntegrationServer\\packages\\WWU_COMMON\\config*C:\\wm712\\test*C:\\wm712\\test.txt*C:\\temp\\read*c:\\temp\\write*c:\\mydown~1*c:\\*\\wwubh01ap35\\Symology\\ReturnXML
allowedDeletePaths C:\\apps\\wm712\\IntegrationServer\\packages\\WWU_COMMON\\config*C:\\wm712\\test*C:\\wm712\\test.txt
Still I'm getting the error.
Tried with the both of the option still couldn't resolve the issue, I guess the path format is incorrect.
Can anyone help me in getting the correct path (\\wwubh01ap35\\Symology\\ReturnXML) for this to be configured in the config file.