Command file.close

The command file.close is used to close an open file.


  1. 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 and closed by command file.close.