Exemplo n.º 1
0
 public SRReportSFtpConfig(string reportType)
 {
     SFtp_Host      = WebConfig.GetReportSRSshHost();
     SFtp_Port      = WebConfig.GetReportSRSshPort();
     SFtp_UserName  = WebConfig.GetReportSRSshUser();
     SFtp_Password  = WebConfig.GetReportSRSshPassword();
     DailyRemoteDir = WebConfig.GetReportSRSshDailyDir();
     AccumRemoteDir = WebConfig.GetReportSRSshAccumDir();
     RemoteDir      = (reportType.ToUpper() == "DAILY" ? DailyRemoteDir : AccumRemoteDir);
 }