% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scan_file.R
\name{scan_file}
\alias{scan_file}
\title{Submit a file for scanning}
\usage{
scan_file(file_path, ...)
}
\arguments{
\item{file_path}{Required; Path to the file to be scanned}

\item{\dots}{Additional arguments passed to \code{\link{virustotal_POST}}}
}
\value{
A \code{virustotal_file_scan} object with analysis ID and links
}
\description{
Uploads a file to VirusTotal for malware analysis using the v3 API.
}
\examples{
\dontrun{
# Set API key first
set_key('your_api_key_here')

# Scan a file
result <- scan_file(file_path = 'suspicious_file.exe')
print(result)
}
}
\references{
\url{https://docs.virustotal.com/reference/files-scan}
}
\seealso{
\code{\link{set_key}} for setting the API key,
\code{\link{file_report}} for retrieving scan results
}
\concept{scanning functions}
