2005-05-29 07:19:27 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Intermediate upload");
|
|
|
|
echo "
|
2005-12-23 22:36:37 +00:00
|
|
|
Long-running applications can upload particular output files
|
2005-05-29 07:19:27 +00:00
|
|
|
before the result as a whole is finished.
|
|
|
|
To initiate the upload of an output file, call
|
|
|
|
<pre>
|
2006-01-16 06:23:14 +00:00
|
|
|
extern int boinc_upload_file(std::string& name);
|
2005-05-29 07:19:27 +00:00
|
|
|
</pre>
|
|
|
|
where 'name' is the logical name of the file.
|
|
|
|
The application cannot modify the file after making this call.
|
|
|
|
<p>
|
|
|
|
To check on the status of a file being uploaded, call
|
|
|
|
<pre>
|
2006-01-16 06:23:14 +00:00
|
|
|
extern int boinc_upload_status(std::string& name);
|
2005-05-29 07:19:27 +00:00
|
|
|
</pre>
|
|
|
|
This will return zero if the upload of the file is finished
|
|
|
|
successfully.
|
|
|
|
|
|
|
|
";
|
|
|
|
|
|
|
|
page_tail();
|
|
|
|
?>
|