public bool UploadCostcoFA(string fileName, IAppSettingsService appSettings) { string encryptedFilePath = Path.Combine(appSettings.Costco.Dir.Encrypt.FAs.Path, fileName); CostcoCHFtp costcoFtp = new CostcoCHFtp(); return costcoFtp.UploadFA(encryptedFilePath); }
public List <IFTPfileInfo> GetCostcoOrders() { CostcoCHFtp costcoFtp = new CostcoCHFtp(); List <IFTPfileInfo> orders = costcoFtp.GetFtpOrders(); return(orders); }
public bool UploadCostcoConfirm(string fileName, IAppSettingsService appSettings) { string encryptedFilePath = Path.Combine(appSettings.Costco.Dir.Encrypt.Confirms.Path, fileName); CostcoCHFtp costcoFtp = new CostcoCHFtp(); return(costcoFtp.UploadConfirm(encryptedFilePath)); }
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); }
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)); }
public List<IFTPfileInfo> GetCostcoOrders() { CostcoCHFtp costcoFtp = new CostcoCHFtp(); List<IFTPfileInfo> orders = costcoFtp.GetFtpOrders(); return orders; }