Updated EFT creds, ZIPd archive

This commit is contained in:
Doug Macintosh
2026-03-31 10:06:25 -04:00
parent bfe37f6426
commit 2d86272a81
10 changed files with 433 additions and 147 deletions

View File

@@ -54,12 +54,25 @@ namespace bdf
backBillAmt = amt;
}
if (myargs.Exists("upload"))
{
upload = true;
Logger.Log(0, "Files will be securely transferred to EFT");
//Logger.Log(0, "Files will be securely transferred to EFT");
if (myargs.Exists("dev"))
{
sshDetails = sftp.sshDEVDetails;
Logger.Log(0, "Warning: Files will be transferred to EFT using DEV server for testing only.");
}
else
{
sshDetails = sftp.sshPRODDetails;
Logger.Log(1, "Files will be securely transferred to EFT using MFT production server.");
}
}
if (myargs.Exists("zip"))
{
archive = true;
@@ -226,7 +239,7 @@ namespace bdf
public static class ExpirationGuard
{
// Hardcoded expiration date (UTC recommended)
private static readonly DateTime ExpirationDate = new DateTime(2027, 12, 31, 0, 0, 0, DateTimeKind.Utc);
private static readonly DateTime ExpirationDate = new DateTime(2026, 12, 31, 0, 0, 0, DateTimeKind.Utc);
public static void ThrowIfExpired()
{