Navigation
This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

removeFile()

On this page

Description

removeFile(filename)

Removes the specified file from the local file system.

The removeFile() method has the following parameter:

Parameter Type Description
filename string A filename or path to a local file.
←   rand() setVerboseShell()  →