2004-09-13 18:05:54 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Retrieving file lists");
|
|
|
|
echo "
|
|
|
|
To instruct a host to send a list of all persistent files,
|
|
|
|
use the function
|
|
|
|
<pre>
|
|
|
|
request_file_list(int host_id)
|
|
|
|
</pre>
|
2006-11-03 21:42:49 +00:00
|
|
|
or the command line program (run from the project root directory)
|
2004-09-13 18:05:54 +00:00
|
|
|
<pre>
|
|
|
|
request_file_list [ -host_id X ]
|
|
|
|
</pre>
|
|
|
|
If -host_id is absent, get file lists for all hosts.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
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.
|
|
|
|
<p>
|
2006-11-03 21:42:49 +00:00
|
|
|
The file list will be included in the next scheduler RPC request.
|
|
|
|
You must modify the scheduler to parse and store it.
|
2004-09-13 18:05:54 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|