Submit a local file to VirusTotal
submit_local_fileSubmit a local file to VirusTotal for security analysis by specifying its path, optionally verifying an expected SHA256 hash.
Instructions
Submit one local regular file of at most 32000000 bytes in standard mode.
Reads the local server's filesystem, never a remote client's path or a URL. Copies and hashes the bytes; an optional expected SHA256 must match that copy. Standard submission is not confidential: VirusTotal may share content with security partners and customers. This operation does not request interactive confirmation. Uses current VTAI rights and quota; never retries a POST. A durable reference permits only receipt recovery after an interrupted call. Submitted/unknown is not completion or a security verdict; use get_submission and get_analysis. Cancelling locally does not withdraw an accepted file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| expected_sha256 | No |