Example #1
0
        public FileInfo DownloadCostoOrder(string fileName, IAppSettingsService appSettings)
        {
            string encryptedFilePath = Path.Combine(appSettings.Costco.Dir.Encrypt.Orders.Path, fileName);

            CostcoCHFtp costcoFtp = new CostcoCHFtp();
            costcoFtp.DownloadOrder(fileName, encryptedFilePath, true);

            return new FileInfo(encryptedFilePath);
        }