CA WA Agent Event: File Trigger fails with spaces in name

Document ID : KB000118582
Last Modified Date : 26/10/2018
Show Technical Document Details
Issue:
Are spaces in the filenames and/or directory supported?
Environment:
CA WA Agent 
Windows OS - Any
Linux/ UNIX
Cause:
The File Trigger jobs may fail if the file or directory names has spaces with following error:
"Scan Failed"; "An unexpected network error occurred" File Trigger Path: \\server\fileshare\Special Directory\*.*

 
Resolution:
Normally, spaces in file and directory names can cause issues.  The spaces in the path will require need to be escaped or the entire path will have to in quotes.
"\\server\fileshare\Special Directory\*.*"

 
Additional Information:
For more information:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/0d2ce868-97e2-4499-a259-f3e44413de52/how-to-access-a-folder-with-spaces-in-the-unc-path?forum=winservergen