checking in latest panaceantech into git

This commit is contained in:
2016-08-12 16:07:22 -04:00
parent f38dafb4ae
commit bd0d466f36
38 changed files with 377 additions and 562 deletions

View File

@@ -11,24 +11,41 @@ using System.Linq;
using System.Text;
using Yaulw.Assembly;
using Yaulw.File;
using Yaulw.Other;
using Yaulw.Registry;
namespace quickftp
{
class Program
{
public enum CommandLine_Flag
{
DEBUG
}
public enum CommandLine_Option
{
NONE
}
internal static CMDline cmdline = new CMDline(typeof(Program.CommandLine_Option), typeof(Program.CommandLine_Flag));
public static string DataRet_Retrieve(object o)
{
if(o != null && !String.IsNullOrEmpty(o.ToString()))
{
return o.ToString().Trim();
return o.ToString().Trim().Replace(',',' ');
}
return "";
}
static void Main(string[] args)
{
cmdline.Parse(args);
bool bIsDebug = cmdline.GetFlagValue(CommandLine_Flag.DEBUG);
string path = quickftp.Properties.Settings.Default.AdvantagePath;
string user = quickftp.Properties.Settings.Default.AdvantageUser;
string pass = quickftp.Properties.Settings.Default.AdvantagePass;
@@ -93,7 +110,10 @@ namespace quickftp
Console.WriteLine(e.Message);
}
SendFileToSFTP(fpath + "\\" + fname + ".csv");
if (!bIsDebug)
{
SendFileToSFTP(fpath + "\\" + fname + ".csv");
}
Process.GetCurrentProcess().Close();
}

View File

@@ -17,3 +17,6 @@ C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\SMFTP.dll
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\Yaulw.dll
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\obj\Debug\quickftp.csprojResolveAssemblyReference.cache
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Debug\quickftp.exe.config
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\obj\Debug\quickftp.exe
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\obj\Debug\quickftp.pdb

View File

@@ -9,3 +9,14 @@ C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Release\Advantage
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\obj\Release\quickftp.exe
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\obj\Release\quickftp.pdb
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\obj\Release\quickftp.csprojResolveAssemblyReference.cache
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\quickftp.exe.config
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\obj\Release\quickftp.exe
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\obj\Release\quickftp.pdb
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\quickftp.exe
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\quickftp.pdb
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\log4net.dll
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\Sdaleo.dll
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\SMFTP.dll
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\Yaulw.dll
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\bin\Release\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\@\panaceantech\QuickFTP\quickftp\obj\Release\quickftp.csprojResolveAssemblyReference.cache