The command file.close is used to close an open file.
- handle [integer]
Handle of the opened file.
In the example above the file test.txt has been downloaded using the command downloadfile.
The file test.txt has been opened for reading (r) by the command file.open and closed by command file.close.