Changes between Version 2 and Version 3 of FileUpload


Ignore:
Timestamp:
Sep 11, 2007, 12:15:53 PM (17 years ago)
Author:
Bruce Allen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FileUpload

    v2 v3  
    11= Data server protocol =
    22
    3 Core client communicate with data servers using HTTP. A data server is typically implemented using a web server together with a BOINC-supplied CGI program, '''file_upload_handler'''.
     3Core client communicate with data servers using HTTP. A data server is typically implemented using a web server together with a BOINC-supplied CGI program, '''file_upload_handler'''.  This protocol supports "partial transfers".  In particular, if a transfer fails while in progress (network connection broken, server out of space, etc) after N bytes has been transfered, then the next transfer attempt will start at the correct N-byte offset, so that the existing data which has already been transfered does not need to be moved again.
    44
    55== Download ==
     
    3838        Success. `Nbytes` is 0 if the file doesn't exist.
    3939 '''1'''::
    40         Transient error. The client should try another data server, or try this one later.
     40        Transient error, for example the server is out of disk space. The client should try another data server, or try this one later (starting the transfer at the end of the file already on the server).
    4141 '''-1'''::
    4242        Permanent error. The client should give up on the result.