Example #1
0
 /// <summary>
 /// Initializes a new FtpListItem object from a parser's results.
 /// </summary>
 /// <param name="parser"></param>
 public FtpListItem(FtpListFormatParser parser)
 {
     this.Type   = parser.ObjectType;
     this.Name   = parser.Name;
     this.Size   = parser.Size;
     this.Modify = parser.Modify;
     this.Mode   = parser.Mode;
     this.Owner  = parser.Owner;
     this.Group  = parser.Group;
 }
Example #2
0
 /// <summary>
 /// Initializes a new FtpListItem object from a parser's results.
 /// </summary>
 /// <param name="parser"></param>
 public FtpListItem(FtpListFormatParser parser) {
     this.Type = parser.ObjectType;
     this.Name = parser.Name;
     this.Size = parser.Size;
     this.Modify = parser.Modify;
     this.Mode = parser.Mode;
     this.Owner = parser.Owner;
     this.Group = parser.Group;
 }