Docs Home → Develop Applications → MongoDB Manual
removeFile()
On this page
Description
removeFile(filename)
Removes the specified file from the local file system.
The
removeFile()
method has the following parameter:ParameterTypeDescriptionfilename
stringA filename or path to a local file.