Пример #1
0
 public void exportReportToFtp(String contactDatabaseId, String ftpAccountId, String fileName, DateTime startTime, DateTime endTime)
 {
     ExportAction exportAction = new ExportAction(this.client, this.userName, this.password, this.oWebProxy);
     exportAction.exportReportToFtp(contactDatabaseId, ftpAccountId, fileName + "_SENT" + ".csv", startTime, endTime, ReportType.SENT);
     exportAction.exportReportToFtp(contactDatabaseId, ftpAccountId, fileName + "_OPENED" + ".csv", startTime, endTime, ReportType.OPENED);
     exportAction.exportReportToFtp(contactDatabaseId, ftpAccountId, fileName + "_CLICKED" + ".csv", startTime, endTime, ReportType.CLICKED);
     exportAction.exportReportToFtp(contactDatabaseId, ftpAccountId, fileName + "_BOUNCED" + ".csv", startTime, endTime, ReportType.BOUNCED);
 }