Exemple #1
0
        public IActionResult DownloadFile(string keyValue, string name)
        {
            FTPHelper  ftps = new FTPHelper(_FtpConnection.Value.FtpServerIP, _FtpConnection.Value.FtpRemotePath + "/tbz/" + keyValue, _FtpConnection.Value.FtpUserID, _FtpConnection.Value.FtpPassword);
            FileResult file = ftps.DownLoad(name, this);

            return(file);
        }