$Get

From NMDC Protocol

Jump to: navigation, search

$Get

Syntax

$Get <file>$<offset>|

Description

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

• <file> is the full file name and the path to it, as per the source's $SR or 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 nonexistent_directory\nonexistent_file$1|" and disconnect on "$Get nonexistent_file$1|")

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

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

Personal tools