Is it possible to use Symantec Scan Engine for HTTP content scanning using Java SDK example Code? The location of scan file is using URL instead of file path.
I tried below command, but does not work.
java -cp .;C:\Project\Lib\SymJavaAPI.jar JavaAPICheck -server:10.3.0.29:1344 -streambased:1 -streamFileLocal:0 -file:"http://10.3.0.29/read.txt"
Its only works on file path.
java -cp .;C:\Project\Lib\SymJavaAPI.jar JavaAPICheck -server:10.3.0.29:1344 -streambased:1 -streamFileLocal:0 -file:C:\Project\README.txt
----------------------------------------------------------------------
Scanning file ........................................................
----------------------------------------------------------------------
Results ..............................................................
----------------------------------------------------------------------
File Scanned : C:\Project\README.txt
Scan Policy : DEFAULT
File Status : CLEAN
Total Infection : 0
Virus Def Date : Thu Aug 27 00:00:00 SGT 2015
Virus Def Revision No : 003
Symantec Protection Engine IP : 10.3.0.29
Symantec Protection Engine Port : 1344
Symantec Protection Engine Port : Able to connect