3 GetFileList
David Anderson edited this page 2023-08-22 13:15:33 -07:00

Retrieving file lists

To instruct a host to send a list of all persistent files, use the function

request_file_list(int host_id);

or the command line program (run from the project root directory)

request_file_list [ -host_id X ]

If -host_id is absent, get file lists for all hosts. A message is created for the specific host (or all hosts) and added to the msg_to_host table in the database. The upload message included in the next RPC reply to the host.

The file list will be included in the next scheduler RPC request. You must modify the scheduler to parse and store it.