Changes between Version 1 and Version 2 of GetFile

Show
Ignore:
Author:
Nicolas (IP: 201.213.39.117)
Timestamp:
04/25/07 08:59:48 (3 years ago)
Comment:

Required manual changes to automatic conversion.

Legend:

Unmodified
Added
Removed
Modified
  • GetFile

    v1 v2  
    33A persistent file can be retrieved from a specific host. This can be done using the function 
    44 
    5  
    65{{{ 
    76get_file(int host_id, const char* file_name) 
    87}}} 
    9  or the command line program (run in the project root dir) 
    108 
     9or the command line program (run in the project root dir) 
    1110 
    1211{{{ 
    1312get_file -host_id X -file_name Y 
    1413}}} 
    15  This program must be run in the project's root directory. get_file() creates a result with a name of the form: 
    1614 
     15This program must be run in the project's root directory. get_file() creates a result with a name of the form: 
    1716 
    1817{{{ 
    1918get_FILENAME_HOSTID_TIME 
    2019}}} 
    21  Example: get_test.mpg_34_123456789 is a result representing the  upload of test.mpg from host number 34 at time 1234567891. 
     20Example: get_test.mpg_34_123456789 is a result representing the  upload of test.mpg from host number 34 at time 1234567891. 
    2221 
    2322An upload message is created for the specific host and added to the msg_to_host table in the database.  This message instructs the client to upload the file and acknowledge a successful upload. The upload message included in the next RPC reply to the host. The message has the form: 
    24  
    2523 
    2624{{{ 
    4442</workunit> 
    4543}}} 
    46       Include 
     44Include 
    4745{{{<msg_to_host/>}}} 
    48       in config.xml. Currently 
     46in config.xml. Currently 
    4947{{{<ignore_upload_certificates/>}}} 
    50       needs to be included as there is no way to send upload certificates with these files. 
     48needs to be included as there is no way to send upload certificates with these files. 

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.