Originally posted by: Assimilator1
RD
OK this is the info I've pulled out of client_state.xml for a WU.
<file_info>
<name>01mr08ae.14671.16023.5.8.252</name>
<nbytes>375341.000000</nbytes>
<max_nbytes>0.000000</max_nbytes>
<md5_cksum>48429e9f49fd82225a78bb44f5298292</md5_cksum>
<status>1</status>
<url>http://boinc2.ssl.berkeley.edu...23.5.8.252</url>
</file_info>
So line 1 is the WU name, line 2 WU size (right?).
What's line 3 & where does the number for line 4 come from? (I couldn't see it in the WU itself).And any idea what the status refers to?
Also what's complicated matters is that the latest version of BOINC v6.2.14 has a different directory structure!:frown:, this version has keeps the 'projects' & 'slots' dirs in C:\Documents and Settings\All Users\Application Data\BOINC\ .(How does the new BOINC know where to look for these migrated files?).
So for now I plan to stick to v5.10.45 as all the folders are in the same dir making it easier for a 'ready to run' benchmarkable SETI.
The 1st. is wu's file-name, and 2nd. file-size.
max_nbytes is only for result-files, and is 0 for downloads.
md5_chksum is the md5 for the file, this is generated by server and is used to verify the download isn't corrupt. For executables, you'll have <file_signature> instead of <md5_chksum>.
Status... indicated the status of download, you've atleast got "not downloaded yet", "successfully downloaded", "errored-out". I don't remember the code for the various, but "1" is "successfully downloaded"...
There's similar status for uploads, wu's and so on, but not even sure if uses the same number for the same meaning for everything...
You'll also need a <file_info>-part detailing the result for each wu.
Also, you'll need to have a <workunit>-part, that includes <file_ref> with only <file_name> and <open_name>, and finally a <result>-part that just like <workunit>-part includes <file_ref> just like <workunit> does...
As for v6, the location of data-directory depends on OS, there under Vista it's under c:\programdata\boinc\ instead...
Not sure how BOINC knows about the location, maybe as part of shortcut... but, v6 should be installed as service so, not sure...