Checking in more work... good stuff

This commit is contained in:
2016-07-25 17:12:45 -04:00
parent 1db10e8115
commit 8f8541afb2
55 changed files with 405 additions and 1 deletions

BIN
QuickFTP/quickftp/3rdparty/ADSLOC32.dll vendored Normal file

Binary file not shown.

BIN
QuickFTP/quickftp/3rdparty/Ace32.dll vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
QuickFTP/quickftp/3rdparty/SMFTP.dll vendored Normal file

Binary file not shown.

BIN
QuickFTP/quickftp/3rdparty/Sdaleo.dll vendored Normal file

Binary file not shown.

BIN
QuickFTP/quickftp/3rdparty/Yaulw.dll vendored Normal file

Binary file not shown.

BIN
QuickFTP/quickftp/3rdparty/axcws32.dll vendored Normal file

Binary file not shown.

BIN
QuickFTP/quickftp/3rdparty/log4net.dll vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,84 @@
using Sdaleo;
using Sdaleo.Systems.Advantage;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using Yaulw.Registry;
namespace quickftp
{
class Program
{
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;
ddd();
if (String.IsNullOrEmpty(path) || String.IsNullOrEmpty(user) || String.IsNullOrEmpty(pass))
{
Console.WriteLine("Advantage settings blank or null");
return;
}
AdvantageCredential cred = new AdvantageCredential(path, user, pass, AdvantageCredential.ServerType.REMOTE_LOCAL);
if(!cred.IsValid)
{
Console.WriteLine("Advantage connection invalid");
return;
}
DB db = DB.Create(cred);
DBRetVal retVal = db.FillDataTable("Select Top 10 * FROM MWPAT");
if(!retVal.IsValid)
{
Console.WriteLine(retVal.ErrorMsg);
return;
}
//DBMS.CreateErrorDBRetVal
//cred.AdvDataSource = credential.DataSource;
//cred.AdvIsRemote = (ConnStr.RetrieveValue("SERVERTYPE", credential.ConnectionString) == "REMOTE");
}
public static void ddd()
{
string regValue = RegKey.GetKey<string>(HKEYRoot.LocalMachine, "Software\\PanaceanTech", "SMFTP", "").ToLower();
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;
//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");
}
}
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("quickftp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("quickftp")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b162650e-fa54-4bed-b066-f2758a79eeec")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace quickftp.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("\\\\medisoft_server\\medidata\\EMBARK RECOVERY LLC\\mwddf.add")]
public string AdvantagePath {
get {
return ((string)(this["AdvantagePath"]));
}
set {
this["AdvantagePath"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("user")]
public string AdvantageUser {
get {
return ((string)(this["AdvantageUser"]));
}
set {
this["AdvantageUser"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("password")]
public string AdvantagePass {
get {
return ((string)(this["AdvantagePass"]));
}
set {
this["AdvantagePass"] = value;
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="quickftp.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="AdvantagePath" Type="System.String" Scope="User">
<Value Profile="(Default)">\\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add</Value>
</Setting>
<Setting Name="AdvantageUser" Type="System.String" Scope="User">
<Value Profile="(Default)">user</Value>
</Setting>
<Setting Name="AdvantagePass" Type="System.String" Scope="User">
<Value Profile="(Default)">password</Value>
</Setting>
</Settings>
</SettingsFile>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="quickftp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<userSettings>
<quickftp.Properties.Settings>
<setting name="AdvantagePath" serializeAs="String">
<value>\\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add</value>
</setting>
<setting name="AdvantageUser" serializeAs="String">
<value>user</value>
</setting>
<setting name="AdvantagePass" serializeAs="String">
<value>password</value>
</setting>
</quickftp.Properties.Settings>
</userSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="quickftp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<userSettings>
<quickftp.Properties.Settings>
<setting name="AdvantagePath" serializeAs="String">
<value>\\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add</value>
</setting>
<setting name="AdvantageUser" serializeAs="String">
<value>user</value>
</setting>
<setting name="AdvantagePass" serializeAs="String">
<value>password</value>
</setting>
</quickftp.Properties.Settings>
</userSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="quickftp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<userSettings>
<quickftp.Properties.Settings>
<setting name="AdvantagePath" serializeAs="String">
<value>\\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add</value>
</setting>
<setting name="AdvantageUser" serializeAs="String">
<value>user</value>
</setting>
<setting name="AdvantagePass" serializeAs="String">
<value>password</value>
</setting>
</quickftp.Properties.Settings>
</userSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,19 @@
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\bin\Debug\quickftp.exe
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\bin\Debug\quickftp.pdb
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\bin\Debug\Sdaleo.dll
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\bin\Debug\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\obj\Debug\quickftp.exe
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\obj\Debug\quickftp.pdb
C:\Users\DieSonne99\Desktop\QuickFTP\quickftp\bin\Debug\quickftp.exe.config
C:\Users\DieSonne99\Desktop\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
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\quickftp.exe
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\quickftp.pdb
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\log4net.dll
C:\Users\DieSonne99\Desktop\panaceantech\QuickFTP\quickftp\bin\Debug\Sdaleo.dll
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

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E0B1E1C9-AF77-424A-9F00-CDD27C499350}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>quickftp</RootNamespace>
<AssemblyName>quickftp</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net">
<HintPath>..\..\sFTPlugins\3rdParty\log4net.dll</HintPath>
</Reference>
<Reference Include="Sdaleo, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>3rdparty\Sdaleo.dll</HintPath>
</Reference>
<Reference Include="SMFTP">
<HintPath>3rdparty\SMFTP.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Yaulw">
<HintPath>..\..\sFTPlugins\3rdParty\Yaulw.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>