Update the program.cs
This commit is contained in:
parent
1b0e81b64d
commit
194aacb232
|
@ -694,15 +694,13 @@ internal static class Program
|
|||
|
||||
//this for concatenating in one file
|
||||
|
||||
if (_counterOfFile == NbrOfFileToConcatenate)
|
||||
if (_counterOfFile >= NbrOfFileToConcatenate)
|
||||
{
|
||||
_counterOfFile = 0;
|
||||
|
||||
var logFileConcatenator = new LogFileConcatenator();
|
||||
var csvToSend = logFileConcatenator.ConcatenateFiles(NbrOfFileToConcatenate);
|
||||
|
||||
File.WriteAllText("test.csv",csvToSend);
|
||||
|
||||
var s3Path = timeStamp.ToUnixTime() + ".csv";
|
||||
var request = s3Config.CreatePutRequest(s3Path);
|
||||
|
||||
|
|
Loading…
Reference in New Issue