Hi,
Please correct if my understanding about the issue is correct.
I believe you are using internal wM services to move the file in file polling service and its failing but manually using commands you are able to do it.
Please cross verify if you have write Access to the working directory also please provide write access path in fileAccessControl.cnf file in the following path of webMethods server.
C:\SoftwareAG\IntegrationServer\instances[Instance Name]\packages\WmPublic\config\fileAccessControl.cnf[i]
Note: To change the access for a directory you can use “chmod command”
ex: chmod 777 (this will give read, write & Execute access)
Regards,
Syed Faraz Ahmed
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB