コード例 #1
0
ファイル: FtpFileInfo.cs プロジェクト: HaKDMoDz/eStd
        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);
        }
コード例 #2
0
ファイル: FtpDirectoryInfo.cs プロジェクト: HaKDMoDz/eStd
 public FtpDirectoryInfo(FtpConnection ftp, string path)
 {
     _ftp = ftp;
     base.FullPath = path;
 }