checking in latest panaceantech into git
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user