When using the Java API FileScanRequest class, from the Symantec Scan Engine 5.2.x SDK, if the given filepath to scan has a path structure different than that of the local Operating System the API will modify the path to scan. An example of this would be if the Java API was being executed from a Windows OS, and Scan Engine was running on Linux. If the createFileScanRequest function was called using the string "/root/test/testfile.txt" as the path to scan, the path sent to Scan Engine would get edited to something like, "C:\home\ben\testfile.txt". This causes an error by Scan Engine, as it is not able to scan the because an incorrect path was sent.
When the Java API processes the path, it also changes it to the local path structure of the Operating System. This different path is what is passed on in the X-Filepath field to Scan Engine for scanning.
Engineering has resolved the issue in the latest version of our Java SDK, 220.127.116.11. Java SDK version 18.104.22.168 will be shipped with Symantec Scan Engine 5.2.13. The ETA for Scan Engine 5.2.13 is Spring 2012. If the fixed version of the Java SDK is needed sooner please contact Support, and we can provide the updated Java SDK as needed.
Symantec Scan Engine 5.2.x Java SDK
Imported Document ID: TECH172906
Subscribing will provide email updates when this Article is updated. Login is required.