Updated EFT creds, ZIPd archive
This commit is contained in:
17
Switches.cs
17
Switches.cs
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user