public FtpFileInfo(FtpConnection ftp, string filePath) { if (filePath == null) throw new ArgumentNullException("fileName"); base.OriginalPath = filePath; base.FullPath = filePath; _filePath = filePath; _ftp = ftp; this._name = Path.GetFileName(filePath); }
public FtpDirectoryInfo(FtpConnection ftp, string path) { _ftp = ftp; base.FullPath = path; }