コード例 #1
0
        public override async Task <SpecialCommandResult> Execute()
        {
            string source = WebDavPath.Clean(Parames.Count == 1 ? Path : Parames[0]);
            string target = WebDavPath.Clean(Parames.Count == 1 ? Parames[0] : Parames[1]);

            var res = await Cloud.Copy(source, target);

            return(new SpecialCommandResult(res));
        }