|
|
Scan an Google Cloud Platform (GCP) Storage file for viruses
Scan the contents of a single Google Cloud Platform (GCP) Storage file and its content for viruses. Leverage continuously updated signatures for millions of threats, and advanced high-performance scanning capabilities. Over 17 million virus and malware signatures. Continuous cloud-based updates. Wide file format support including Office, PDF, HTML, Flash. Zip support including .Zip, .Rar, .DMG, .Tar, and other archive formats. Multi-threat scanning across viruses, malware, trojans, ransomware, and spyware. High-speed in-memory scanning delivers subsecond typical response time.
var form = new FormData();
form.append("jsonCredentialFile", fileInput.files[0], "file");
var settings = {
"url": "https://api.cloudmersive.com/virus/scan/cloud-storage/gcp-storage/single",
"method": "POST",
"timeout": 0,
"headers": {
"bucketName": "",
"objectName": "",
"Content-Type": "multipart/form-data",
"Apikey": "YOUR-API-KEY-HERE"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});
|