# getFileList
Description
Get a list of files that are available on the HTTP server
Returns an array of objects, each representing detailed information about the file. Detailed operation with them is described in the section about the built-in HTTP server
void getFileList()
Response example
{
"method": "getFileList",
"requestId" : "1",
"fileList":
[
{
"fileId": "1",
"fileName": "TeamViewer_Setup.exe"
},
{
"fileId": "2",
"fileName": "734.exe"
},
{
"fileId": "3",
"fileName": "258.exe"
},
{
"fileId": "4",
"fileName": "Screenshot (1).png"
}
],
"result": true
}
Response Parameters
Name | Description |
---|---|
fileId | Unique identifier of the file on the built-in HTTP server |
fileList | The list of files available on the built-in HTTP server |
fileName | Original file name |
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also