Description:
Display or set mirror list filename. The Mirrorlist is a file that lists all the files that
the mirror client needs to download from the HOSTIPADDRESS. See notes for file format.
Form:
Command Handler: SYSD
MIRRORLISTFILE|MLF|ML
Argument: MirrorList filename. May include relative path.
No Argument: Shows current setting.
Response:
WITH ARGUMENT
Verbose- "OK\r\n" to acknowledge receipt of command, or
"ERROR- [Description]\r\n" if error, ending command
Terse- "0\r\n" to acknowledge receipt of command, or
"[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
WITHOUT ARGUMENT
Verbose- "OK\r\n" to acknowledge receipt of command, followed by
"MirrorListFile= <SETTING>\r\n", or
"ERROR- [Description]\r\n" if error, ending command
Terse- "0\r\n" to acknowledge receipt of command, followed by
"<SETTING>\r\n", or
"[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Verbose command to set Local Media Directory:
*.SYSD MIRRORLISTFILE LIST.MVL<enter>
Response is: OK\r\n
\r\n
Verbose command to show Local Media Directory setting:
*.SYSD MIRRORLISTFILE<enter>
Response is: OK\r\n
MirrorListFile= LIST.MVL\r\n
\r\n
Notes:
Format:
Lines can have filenames, directives or comments. A double forward
slash (//) is regarded as a comment. Recognized directives:
#UNITS_NAMED, #UNITS_NAMED_END, #MVL_DELETE_FILES_ON, #MVL_DELETE_FILES_OFF.
Directives must be used in pairs. Units_Named is followed by a space
delimited list of unit names. Glob (*) matching is allowed. Units
not matching the name list will ignore that Units_Named directive.
MVL_DELETE_FILES directive is used to manually delete files from units.
MVL_DELETE_FILES directive may be nested in UNITS_NAMED directive for
targeted file deletion. If the file name is argued without the file path
then the default directory is media/hd0/mvl.
Example MVL file:
// All units download these two files
SPOT1.MPG
SPOT6.MPG
// Only foo and bar will download AD_FOO.MPG and delete DEMO1.MPG
#UNITS_NAMED foo bar
AD_FOO.MPG
#MVL_DELETE_FILES_ON
DEMO1.MPG
#MVL_DELETE_FILES_OFF
#UNITS_NAMED_OFF
// All units that begin with SUESS (SUESSONE, SUESSTWO, etc.)
// will download HORACE.MPG
#UNITS_NAMED SUESS*
HORACE.MPG
#UNITS_NAMED_OFF
// All units will delete WHO.MPG
#MVL_DELETE_FILES_ON
WHO.MPG
#MVL_DELETE_FILES_OFF
Related commands: HOSTMODE, HOSTTIMER, HOSTIPADDRESS, CLTUSERPASSWORD,
FTPTIMEOUT, FTPDATATIMEOUT, DONOTREPLACEMPEG, FTPCLIENTPASV