Specifications
Response Element Type and Size Description
Data (uint8)xLength On success, this field will contain Length bytes of data
from the specified position in the file.
4.6.6 CPY
Command: Copy
Description: The Copy command copies portions of a recording to a file an exter-
nal storage device. If the file already exists, it will be overwritten
without warning or notification. The Copy and Dump commands
are not available if there are any recordings scheduled.
Argument Format: <Tag>’<Start Byte>’<Length>’<Device ID>’<Filename>
Argument Type and Size Description
Tag (ASCII-16-A) A file name of the form <MJD>_<Reference Number>.
See section 4.6.2 for more information.
Start Byte (ASCII-15-#) The byte offset within the file to start retrieval at.
Length (ASCII-15-#) The number of bytes to copy. This is limited to the
free space on the target removable storage device.
Storage ID (ASCII-64-A) Linux partition (e.g. /dev/sdf1) of an attached ex-
ternal storage device. The device/partition must be
formatted with the ext2 file system to be properly rec-
ognized and usable.
Filename (ASCII-128-A) The name of a file to create. Acceptable characters
are letters, numbers, the underscore and period.
25