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);
        }
Example #2
0
 public FtpDirectoryInfo(FtpConnection ftp, string path)
 {
     this.FtpConnection = ftp;
     this.FullPath      = path;
 }
 public FtpDirectoryInfo(FtpConnection ftp, string path)
 {
     this.FtpConnection = ftp;
     this.FullPath = path;
 }