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, 22.214.171.124. Java SDK version 126.96.36.199 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.