コード例 #1
0
ファイル: CHFtpService.cs プロジェクト: JamesWhiteAtx/Linkout
        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);
        }
コード例 #2
0
        public List <IFTPfileInfo> GetCostcoOrders()
        {
            CostcoCHFtp         costcoFtp = new CostcoCHFtp();
            List <IFTPfileInfo> orders    = costcoFtp.GetFtpOrders();

            return(orders);
        }
コード例 #3
0
        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));
        }
コード例 #4
0
ファイル: CHFtpService.cs プロジェクト: JamesWhiteAtx/Linkout
        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);
        }
コード例 #5
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));
        }
コード例 #6
0
ファイル: CHFtpService.cs プロジェクト: JamesWhiteAtx/Linkout
 public List<IFTPfileInfo> GetCostcoOrders()
 {
     CostcoCHFtp costcoFtp = new CostcoCHFtp();
     List<IFTPfileInfo> orders = costcoFtp.GetFtpOrders();
     return orders;
 }