Protection Engine for Cloud Services

 View Only
  • 1.  Issues Developing File Stream Scanner

    Posted Sep 24, 2014 01:57 PM

    I am having some issues implementing the file scanner with the Protection Engine for Cloud Services. We are trying out this product to use in a web application to scan documents uploaded by our users. I installed the 30 day trial of the Protection Engine onto one of our local servers here without too much issue.

     

    Now that the service is running, I am attempting to create a simple C# application to send a byte array to the engine to scan and get a response back from our server letting me know if the document came back clean or if it is considered a threat. I have read through the documentation that I could find about the implementation of such an application and am still coming up short of a solution. I have also looked through the example code provided in the SDK for implementing the file scanner but the example seems to be built to show all of the options available for configuration of the service, when I only need to know how to use the File Stream Scanner.

     

    If anyone can provide a code snippet, preferrably in C# (C or Java are fine as well), that gives me the ability to simply set my server IP, port number, and byte array and will send the file to the Protection Engine to scan, I would be very thankful!

     

    If any additional information is needed, please do not hesitate to ask!

     

    Thanks in advance,

    Joe

     

    [EDIT]:

     

    I was able to finally figure out how to interface with the service to send files to scan, but I'm now having the same issue as the last post on this forum where the EICAR file I send to the server is returning a value of "LICENSE_NA". http://pastebin.com/BXHFC1ii <---This is the snippet that I currently have implemented that returns the "LICENSE_NA" error code.



  • 2.  RE: Issues Developing File Stream Scanner

    Posted Oct 01, 2014 09:06 AM

    I think that's related to the lack of a valid license on the SPE.  Has your trial license expired?