示例#1
0
        protected override void InitCommand()
        {
            Target      = CmdParams.Get("target");
            UploadPaths = CmdParams.GetValues("upload_path[]");
            MTimes      = CmdParams.GetValues("mtime[]");
            Names       = CmdParams.GetValues("name[]");
            Renames     = CmdParams.GetValues("renames[]");
            Suffix      = CmdParams.Get("suffix");
            Hashes      = ParseDict("hashes", CmdParams);
            Overwrite   = ParseBoolParameter(CmdParams.Get("overwrite"));

            Chunk   = CmdParams.Get("chunk");
            ChunkId = CmdParams.Get("cid");
            Range   = CmdParams.Get("range");
        }
示例#2
0
 protected override void InitCommand()
 {
     Targets = CmdParams.GetValues("targets[]");
 }
示例#3
0
 protected override void InitCommand()
 {
     Target        = CmdParams.Get("target");
     DirectoryName = CmdParams.Get("name");
     Dirs          = CmdParams.GetValues("dirs[]");
 }
示例#4
0
 protected override void InitCommand()
 {
     Target    = CmdParams.Get("target");
     Intersect = CmdParams.GetValues("intersect[]") ?? new string[0];
 }