pub.file:moveFile

Hi,
I want to Move a file to another directory after conversion. I am using pub.file:moveFile service to move the file and getting the fallowing error

“Specified path [C:\Directoryname\Filename] is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file”

even i changed the config file as below

allowedWritePaths=C:\Directoryname\Filename
allowedReadPaths=C:\Directoryname\Filename
allowedDeletePaths=C:\Directoryname\Filename

Thanks in advance

Reload WmPublic after changing the config file.

1 Like