コード例 #1
0
        public FtpFileInfo(FtpConnection ftp, string filePath)
        {
            if (filePath == null)
            {
                throw new ArgumentNullException("filePath");
            }

            this.OriginalPath = filePath;
            this.FullPath = filePath;
            this.ftpConnection = ftp;
            this.fileName = Path.GetFileName(filePath);
        }
コード例 #2
0
 public FtpDirectoryInfo(FtpConnection ftp, string path)
 {
     this.FtpConnection = ftp;
     this.FullPath      = path;
 }
コード例 #3
0
 public FtpDirectoryInfo(FtpConnection ftp, string path)
 {
     this.FtpConnection = ftp;
     this.FullPath = path;
 }