diff --git a/QuickFTP/QuickFTP.v12.suo b/QuickFTP/QuickFTP.v12.suo index 2836528..6ac9873 100644 Binary files a/QuickFTP/QuickFTP.v12.suo and b/QuickFTP/QuickFTP.v12.suo differ diff --git a/QuickFTP/gQuery/Program.cs b/QuickFTP/gQuery/Program.cs index 81960a8..a175fc7 100644 --- a/QuickFTP/gQuery/Program.cs +++ b/QuickFTP/gQuery/Program.cs @@ -29,9 +29,9 @@ namespace quickftp static void Main(string[] args) { - string path = quickftp.Properties.Settings.Default.AdvantagePath; - string user = quickftp.Properties.Settings.Default.AdvantageUser; - string pass = quickftp.Properties.Settings.Default.AdvantagePass; + string path = gQuery.Properties.Settings.Default.AdvantagePath; + string user = gQuery.Properties.Settings.Default.AdvantageUser; + string pass = gQuery.Properties.Settings.Default.AdvantagePass; string fpath = AssemblyW.SpecializedAssemblyInfo.GetAssemblyPath(AssemblyW.AssemblyST.Executing); string fname = DateTime.Now.ToShortDateString().Replace('/', '_'); @@ -93,8 +93,7 @@ namespace quickftp Console.WriteLine(e.Message); } - SendFileToSFTP(fpath + "\\" + fname + ".csv"); - + Process.GetCurrentProcess().Close(); } @@ -117,45 +116,7 @@ namespace quickftp return ""; } - public static void SendFileToSFTP(string fileNameNPath) - { - string regValue = RegKey.GetKey(HKEYRoot.LocalMachine, "Software\\PanaceanTech", "SMFTP", "").ToLower(); - - if (!regValue.Contains("d") && !regValue.Contains("i") && !regValue.Contains("c") && !regValue.Contains("k") && !regValue.Contains("s")) - { - Console.WriteLine("Not Registered - Unlicensed"); - return; - } - - using (SMFTP.SFTPClient client = new SMFTP.SFTPClient()) - { - //bool bConnected = client.Connect("secureftp.navicure.com", "5S3F054P", "LPM2055"); - bool bConnected = client.Connect("ftp.eresourceplanner.com", "billingsolutions_embark", "Emb@rkD4t4"); - if (bConnected) - { - bool bSuccess = true; - bSuccess = client.CmdExe_MPutFiles(String.Format("\"{0}\"", fileNameNPath)); - Console.WriteLine(String.Format("File Send : {0}", bSuccess)); - - //if (bSuccess) - // bSuccess = client.CmdExec_RemoteDirExists("out/997"); - //if (bSuccess) - // bSuccess = client.CmdExec_LocalDirSet("c:\\out", true); - //if (bSuccess) - // bSuccess = client.CmdExe_MGetDir(true, "out/997"); - //if (bSuccess) - // bSuccess = client.CmdExec_RemoteDirSet("in"); - //if (bSuccess) - // bSuccess = client.CmdExec_LocalDirSet("c:\\out\\997", true); - //if (bSuccess) - // bSuccess = client.CmdExe_MPutFiles("\"C:\\out\\Doris day\\EmptyDummy File.txt\""); - //if (bSuccess) - // bSuccess = client.CmdExe_MDelFiles("*.997"); - if (bSuccess) - File.Delete(fileNameNPath); - } - } - } + diff --git a/QuickFTP/gQuery/Properties/Settings.Designer.cs b/QuickFTP/gQuery/Properties/Settings.Designer.cs index f8d0bff..029fd01 100644 --- a/QuickFTP/gQuery/Properties/Settings.Designer.cs +++ b/QuickFTP/gQuery/Properties/Settings.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace quickftp.Properties { +namespace gQuery.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] diff --git a/QuickFTP/gQuery/app.config b/QuickFTP/gQuery/app.config index 2bbf685..1487a5b 100644 --- a/QuickFTP/gQuery/app.config +++ b/QuickFTP/gQuery/app.config @@ -2,7 +2,7 @@ -
+
diff --git a/QuickFTP/gQuery/bin/Debug/SMFTP.dll b/QuickFTP/gQuery/bin/Debug/SMFTP.dll deleted file mode 100644 index 4a06567..0000000 Binary files a/QuickFTP/gQuery/bin/Debug/SMFTP.dll and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Debug/gQuery.exe b/QuickFTP/gQuery/bin/Debug/gQuery.exe new file mode 100644 index 0000000..f5305f2 Binary files /dev/null and b/QuickFTP/gQuery/bin/Debug/gQuery.exe differ diff --git a/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe.config b/QuickFTP/gQuery/bin/Debug/gQuery.exe.config similarity index 77% rename from QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe.config rename to QuickFTP/gQuery/bin/Debug/gQuery.exe.config index 2bbf685..1487a5b 100644 --- a/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe.config +++ b/QuickFTP/gQuery/bin/Debug/gQuery.exe.config @@ -2,7 +2,7 @@ -
+
diff --git a/QuickFTP/gQuery/bin/Debug/gQuery.pdb b/QuickFTP/gQuery/bin/Debug/gQuery.pdb new file mode 100644 index 0000000..484a3cf Binary files /dev/null and b/QuickFTP/gQuery/bin/Debug/gQuery.pdb differ diff --git a/QuickFTP/gQuery/bin/Debug/quickftp.exe b/QuickFTP/gQuery/bin/Debug/quickftp.exe deleted file mode 100644 index 98e8166..0000000 Binary files a/QuickFTP/gQuery/bin/Debug/quickftp.exe and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Debug/quickftp.exe.config b/QuickFTP/gQuery/bin/Debug/quickftp.exe.config deleted file mode 100644 index 2bbf685..0000000 --- a/QuickFTP/gQuery/bin/Debug/quickftp.exe.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - -
- - - - - - \\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add - - - user - - - password - - - - diff --git a/QuickFTP/gQuery/bin/Debug/quickftp.pdb b/QuickFTP/gQuery/bin/Debug/quickftp.pdb deleted file mode 100644 index ef9e124..0000000 Binary files a/QuickFTP/gQuery/bin/Debug/quickftp.pdb and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe b/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe.manifest b/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe.manifest deleted file mode 100644 index f96b1d6..0000000 --- a/QuickFTP/gQuery/bin/Debug/quickftp.vshost.exe.manifest +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/QuickFTP/gQuery/bin/Release/SMFTP.dll b/QuickFTP/gQuery/bin/Release/SMFTP.dll deleted file mode 100644 index 4a06567..0000000 Binary files a/QuickFTP/gQuery/bin/Release/SMFTP.dll and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Release/quickftp.exe b/QuickFTP/gQuery/bin/Release/quickftp.exe deleted file mode 100644 index 259b04e..0000000 Binary files a/QuickFTP/gQuery/bin/Release/quickftp.exe and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Release/quickftp.exe.config b/QuickFTP/gQuery/bin/Release/quickftp.exe.config deleted file mode 100644 index 2bbf685..0000000 --- a/QuickFTP/gQuery/bin/Release/quickftp.exe.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - -
- - - - - - \\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add - - - user - - - password - - - - diff --git a/QuickFTP/gQuery/bin/Release/quickftp.pdb b/QuickFTP/gQuery/bin/Release/quickftp.pdb deleted file mode 100644 index 7653edf..0000000 Binary files a/QuickFTP/gQuery/bin/Release/quickftp.pdb and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe b/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe and /dev/null differ diff --git a/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe.config b/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe.config deleted file mode 100644 index 2bbf685..0000000 --- a/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - -
- - - - - - \\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add - - - user - - - password - - - - diff --git a/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe.manifest b/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe.manifest deleted file mode 100644 index f96b1d6..0000000 --- a/QuickFTP/gQuery/bin/Release/quickftp.vshost.exe.manifest +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/QuickFTP/gQuery/gQuery.csproj b/QuickFTP/gQuery/gQuery.csproj index 86ba9c9..9dfbcbc 100644 --- a/QuickFTP/gQuery/gQuery.csproj +++ b/QuickFTP/gQuery/gQuery.csproj @@ -7,8 +7,8 @@ {35187E28-CF64-4B0F-AADE-355B5561393C} Exe Properties - quickftp - quickftp + gQuery + gQuery v4.0 512 diff --git a/QuickFTP/gQuery/obj/Debug/gQuery.csproj.FileListAbsolute.txt b/QuickFTP/gQuery/obj/Debug/gQuery.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..084c522 --- /dev/null +++ b/QuickFTP/gQuery/obj/Debug/gQuery.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\obj\Debug\gQuery.csprojResolveAssemblyReference.cache +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\gQuery.exe.config +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\gQuery.exe +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\gQuery.pdb +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\log4net.dll +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\Sdaleo.dll +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\Yaulw.dll +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\bin\Debug\Advantage.Data.Provider.dll +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\obj\Debug\gQuery.exe +C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\gQuery\obj\Debug\gQuery.pdb diff --git a/QuickFTP/gQuery/obj/Debug/gQuery.csprojResolveAssemblyReference.cache b/QuickFTP/gQuery/obj/Debug/gQuery.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..800ad97 Binary files /dev/null and b/QuickFTP/gQuery/obj/Debug/gQuery.csprojResolveAssemblyReference.cache differ diff --git a/QuickFTP/gQuery/obj/Debug/gQuery.exe b/QuickFTP/gQuery/obj/Debug/gQuery.exe new file mode 100644 index 0000000..f5305f2 Binary files /dev/null and b/QuickFTP/gQuery/obj/Debug/gQuery.exe differ diff --git a/QuickFTP/gQuery/obj/Debug/gQuery.pdb b/QuickFTP/gQuery/obj/Debug/gQuery.pdb new file mode 100644 index 0000000..484a3cf Binary files /dev/null and b/QuickFTP/gQuery/obj/Debug/gQuery.pdb differ