From DCppWiki


$Get <file>$<offset>|


This command is used to request a file from the uploading client.

  • <file> is the full pathname of the file as announced by the uploader through a $SR or through its FileList.
  • <offset> is the starting point of the download (counted from 1, not from 0)

The $Error with "File Not Found" is sent when the file is not available. NMDC disconnects the user if no directory is provided. (i.e. $Error on "$Get nonexistantdir onexistantfile$1|" and disconnect on "$Get nonexistantfile$1|")

When the file is available, the uploader must respond with $FileLength.

The FileList is retrieved with "$Get MyList.DcLst$1|"