Moved System.IO references from DMO classes to Static Helpers
Removed nugetSource from pipeline Removed more comments Created Static Classes for most DMO / Controller Classes Push ConfigurationManager.AppSettings to controller Align Tests with other Projects
This commit is contained in:
@ -16,13 +16,10 @@ internal class FTPWrapper {
|
||||
_DestinationFileName = destinationFileName;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public void FTPToSPN() {
|
||||
FTP ftpLib = new();
|
||||
|
||||
//Connect to the FTP server
|
||||
// Connect to the FTP server
|
||||
try {
|
||||
ftpLib.Connect(_AppSettings.FTPServer, _AppSettings.FTPUser, _AppSettings.FTPPassword);
|
||||
} catch (Exception ec) {
|
||||
@ -30,7 +27,7 @@ internal class FTPWrapper {
|
||||
": " + ec.Message, System.Diagnostics.EventLogEntryType.Error);
|
||||
}
|
||||
|
||||
//Upload the file
|
||||
// Upload the file
|
||||
try {
|
||||
int pct = 0;
|
||||
ftpLib.OpenUpload(_OutputFile, _DestinationFileName);
|
||||
|
Reference in New Issue
Block a user