Changes between Version 1 and Version 2 of SendFile


Ignore:
Timestamp:
Apr 25, 2007, 9:00:26 AM (17 years ago)
Author:
Nicolas
Comment:

Required manual changes to automatic conversion.

Legend:

Unmodified
Added
Removed
Modified
  • SendFile

    v1 v2  
    11= Sending files =
    22
    3       To send a file to a specific host, use the function
     3To send a file to a specific host, use the function
     4
    45{{{
    56send_file(int host_id, const char* file_name)
    67}}}
    7  or the command line program (run from the project root directory)
     8
     9or the command line program (run from the project root directory)
     10
    811{{{
    912send_file -host_id X -file_name Y
    1013}}}
    11  send_file creates a result and initializes it with a name of the form send_FILENAME_HOSTID_TIME.
     14
     15send_file creates a result and initializes it with a name of the form send_FILENAME_HOSTID_TIME.
    1216
    1317A message is created for the host and added to the msg_to_host table.  This message instructs the client to download the file and acknowledge a successful download. The download message included in the next RPC reply to the host. The message has the form:
    14 
    1518
    1619{{{
     
    3942                <file_name>file_name</file_name>
    4043        </file_ref>
    41 </workunit>}}}
     44</workunit>
     45}}}