| 1 | = Intermediate upload = |
| 2 | |
| 3 | Long-running applications can upload particular output files before the result as a whole is finished. To initiate the upload of an output file, call |
| 4 | {{{ |
| 5 | extern int boinc_upload_file(std::string& name); |
| 6 | }}} |
| 7 | where 'name' is the logical name of the file. The application cannot modify the file after making this call. |
| 8 | |
| 9 | To check on the status of a file being uploaded, call |
| 10 | {{{ |
| 11 | extern int boinc_upload_status(std::string& name); |
| 12 | }}} |
| 13 | This will return zero if the upload of the file is finished successfully. |