コード例 #1
0
        public override int Run(string[] paths)
        {
            this.client = new FtpClientService(_hostname, _username, _password);
            this._path1 = paths[0];

            FileStruct[] files = client.List(_path1, FtpListType.Full);

            foreach (var file in files)
            {
                Console.WriteLine("{0}\t{1}", file.CreateTime.TryParseDateTime(), file.Name);
            }

            return(0);
        }