<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>E.V.I.C.T. B.V. &#187; Search Results  &#187;  ftp</title>
	<atom:link href="http://evict.nl/?s=ftp&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://evict.nl</link>
	<description>Playground of Edwin Vermeer</description>
	<lastBuildDate>Sun, 04 Jul 2010 21:57:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>FTP</title>
		<link>http://evict.nl/open-source/ftp/</link>
		<comments>http://evict.nl/open-source/ftp/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 23:37:56 +0000</pubDate>
		<dc:creator>Edwin Vermeer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://evict.nl/wordpress/?page_id=146</guid>
		<description><![CDATA[This is an FTP library that (like most commercial components) acts as a &#8216;wrapper&#8217; around&#8217; the wininet.dll FTP api calls and takes that dll to its functional limits. This object makes it easy to add FTP functionality to your application at a proffesional level. Click here to download the complete source code, the compiled DLL [...]]]></description>
			<content:encoded><![CDATA[<p>This is an FTP library that (like most commercial components) acts as a &#8216;wrapper&#8217; around&#8217; 		     the wininet.dll FTP api calls and takes that dll to its functional limits. This object 		     makes it easy to add FTP functionality to your application at a proffesional level.</p>
<p><a href="http://evict.nl/FTP.zip">Click here</a> to download the complete source code, the compiled DLL and the demo.</p>
<p>Below you can see some sample code:</p>
<pre class="brush: vb">Dim oFTP
Set oFTP = CreateObject(&quot;EVICT_FTP.FTP&quot;)
Dim lngReturn, intLoop, lngFileCount, strFile
oFTP.Disconnect
oFTP.SessionName = &quot;EVICT FTP - http://www.evict.nl&quot;
oFTP.OpenFlag = 0                 &#039; (0 = Synchrone)
oFTP.OpenType = 0                 &#039; (0 = PreConfig)
oFTP.PassiveMode = 0              &#039; (0 = Active)
oFTP.TransferType = 2             &#039; (2 = Binary)
oFTP.SendTimeOut = 180000
oFTP.ReceiveTimeOut = 180000
oFTP.ConnectTimeOut = 180000
oFTP.ConnectRetries = 10
oFTP.SetLogging &quot;./ftp.log&quot;, 31   &#039; (31 = Log_All)

lngReturn = oFTP.Connect(&quot;ftp.microsoft.com&quot;, 21, _
    &quot;test_user&quot;, &quot;test_password&quot;)
If lngReturn = 1 Then
  If oFTP.IsConnected Then
    lngFileCount = oFTP.GetDirListing(&quot;&quot;, &quot;*.*&quot;)
    If lngFileCount &gt;= 0 Then
	  For intLoop = 0 To lngFileCount
        strFile = oFTP.GetDirListingFilename(intLoop)
	    lngReturn = oFTP.GetFile(strFile, &quot;./&quot; &amp; strFile)
	    If lngReturn &lt;&gt; 1 Then MsgBox &quot;Error: &quot; &amp; _
	    lngReturn &amp; &quot; proplem retrieving file &quot; &amp; strFile
	  Next
    Else
      MsgBox &quot;There are no files available&quot;, _
      vbExclamation, &quot;Looking for files&quot;
    End If
  End If
End If
lngReturn = oFTP.Disconnect()
Set oFTP = Nothing&lt;/span&gt;&lt;/span&gt;
</pre>
<h2  class="related_post_title">Related posts</h2><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://evict.nl/open-source/ftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Client Server communications</title>
		<link>http://evict.nl/open-source/client-server-communications/</link>
		<comments>http://evict.nl/open-source/client-server-communications/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 19:23:48 +0000</pubDate>
		<dc:creator>Edwin Vermeer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://evict.nl/wordpress/?page_id=74</guid>
		<description><![CDATA[For client server communications I created 2 object that will hide the difficulties in the Winsock API calls for you and stimulate developing in an object oriented way. The GenericClient object can be used to create any sort of client application and the GenericServer object can be used to create any sort of server application. [...]]]></description>
			<content:encoded><![CDATA[<p>For client server communications I created 2 object that will hide the difficulties in the Winsock API calls for you and stimulate developing in an object oriented way. The GenericClient object can be used to create any sort of client application and the GenericServer object can be used to create any sort of server application. You will probably write your own protocol handler (like the SMTP and POP that you can find below ) using the OnDataArive event.</p>
<p>A demo is included that will show you how to make a simple chat application and an other demo is available that shows you how to do port mapping. If you want more samples, then have a look at the SMTP and POP library mentioned below.</p>
<p><a href="http://evict.nl/GenericClientServer.zip">Click here</a> to download the complete source code, the compiled DLL and the demos.</p>
<p>Credits: The (super) SubClass code is from a <a href="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=42918&amp;lngWId=1">publication from Paul Canton</a> [Paul_Caton@hotmail.com].<br />
The winsock stuff is inspired by a <a href="http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=39858&amp;lngWId=1">publication from &#8216;Coding Genius&#8217;.</a><br />
The Exception hanler is based on a <a href="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=41471&amp;lngWId=1">publication from Thushan Fernando.</a></p>
<p>Here is some code that will show you how to use the GenericClient object:</p>
<pre class="brush: vb">
Private WithEvents cClient  As GenericClient
Private Sub Form_Load()
   Set cClient = New GenericClient
   cClient.Connect &quot;ftp.microsoft.com&quot;, CLng(21)
   cClient.Connection.Send &quot;help&quot; &amp; vbCrLf
End Sub

Private Sub Form_Unload(Cancel As Integer)
   cClient.Connection.CloseSocket
   Set cClient = Nothing
End Sub

Private Sub cClient_OnConnect()
   debug.print &quot;Client connected to &quot; &amp; _
      cClient.Connection.GetRemoteHost &amp; _
      &quot;(&quot; &amp; cClient.Connection.GetRemoteIP &amp; &quot;)&quot; &amp; _
      &quot; on port &quot; &amp; cClient.Connection.GetRemotePort
End Sub

Private Sub cClient_OnDataArrive()
Dim strData As String
   cClient.Connection.Recv strData
   debug.print strData
End Sub
</pre>
<h2  class="related_post_title">Related posts</h2><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://evict.nl/open-source/client-server-communications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open source (VB6)</title>
		<link>http://evict.nl/open-source/</link>
		<comments>http://evict.nl/open-source/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 19:22:44 +0000</pubDate>
		<dc:creator>Edwin Vermeer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://evict.nl/wordpress/?page_id=60</guid>
		<description><![CDATA[In the period 2000 &#8211; 2004 I have done a lot of Visual Basic 6 programming which also resulted in a nice collection of reusable code. I did my best to make this code as generic and reusable as possible. Below you can see a short explanation of those portions plus a download link for [...]]]></description>
			<content:encoded><![CDATA[<p>In the period 2000 &#8211; 2004 I have done a lot of Visual Basic 6 programming which also resulted in a nice collection of reusable code. I did my best to make this code as generic and reusable as possible. Below you can see a short explanation of those portions plus a download link for the source code.</p>
<ul>
<li style="z-index: 1;" class="page_item page-item-128"><a href="http://evict.nl/open-source/automating-internet-explorer/" title="Automating Internet Explorer">Automating Internet Explorer</a> You can open and fully control a Internet Explorer window. Unless you want to know how to hook into IE, i can advice using <a href="http://watin.sourceforge.net/">WatiN</a> instead of this library.</li>
<li style="z-index: 1;" class="page_item page-item-74"><a href="http://evict.nl/open-source/client-server-communications/" title="Client Server communications">Client Server communications</a> This library let you create a client or a server in an easy to use object oriented way. By calling the wininet.dll directly instead of using the winsock control this dll excells in performance and memory usage.</li>
<li class="page_item page-item-150"><a href="http://evict.nl/open-source/comdoc/" title="ComDoc">ComDoc</a> If you have a OLE/COM component (dll or ocx) and you want to write documentation for it, then ComDoc is the tool for you. ComDoc will use the component itself for building the structure of the documentation and can also make use of the descriptions that are part of the component. For the publication ComDoc uses the <a href="http://evict.nl/open-source/dbpublisher/" title="DBPublisher">DBPublisher</a>object. Because all the publications are based on templates the outcome is 100% customizable.</li>
<li style="z-index: 1;" class="page_item page-item-46"><a href="http://evict.nl/open-source/dbpublisher/" title="DBPublisher">DBPublisher</a> is a template driven database publication tool. with support for email and ftp.</li>
<li class="page_item page-item-113"><a href="http://evict.nl/open-source/encryption/" title="Encryption">Encryption</a> is a very easy to use ActiveX dll for encrypting and decrypting data. It can be used from almost any programing language. It Has support For RC2, RC4, DES, Triple DES and Triple DES 112.</li>
<li class="page_item page-item-85"><a href="http://evict.nl/open-source/error-handling/" title="Error handling">Error handling</a> You can bennefit a lot if you use a generic method for your error handling in your application. Using line numbers in VB is undervalued. You will only get a 10% bigger .exe but it will make your life much easier to debug your application. The demo will also show you how to build an error trace and how to capture GPF errors.
</li>
<li class="page_item page-item-117"><a href="http://evict.nl/open-source/event-log/" title="Event log">Event log</a> is a module with one function that will give you some more functionality than what you can do with the App.LogEvent method in VB6.</li>
<li class="page_item page-item-146"><a href="http://evict.nl/open-source/ftp/" title="FTP">FTP</a> is a library that (like most commercial components) acts as a ‘wrapper’ around’ the wininet.dll FTP  api calls and takes that dll to its functional limits. This object makes it easy to add FTP  functionality to your application at a proffesional level.</li>
<li class="page_item page-item-139"><a href="http://evict.nl/open-source/object-browser/" title="Object browser">Object browser</a> lets you have a look at the structure of any OLE/COM object. This can be an ActiveX dll, an OCX or an ActiveX EXE. It’s even possible to read out the entire object model of any MS  Office application.</li>
<li class="page_item page-item-142"><a href="http://evict.nl/open-source/quicktip/" title="QuickTip">QuickTip</a> adds a very nice help function to your application. There is even support for getting the help text out of a chm help file.</li>
<li class="page_item page-item-109"><a href="http://evict.nl/open-source/receiving-e-mail-using-pop3/" title="Receiving e-mail using POP3">Receiving e-mail using POP3</a></li>
<li class="page_item page-item-123"><a href="http://evict.nl/open-source/scraping-the-web/" title="Scraping the web">Scraping the web</a> The WebGrabber object is meant to help you to parse table structured data into a database. This is not only usefull for html files with data in a table but it can also be used to parse a csv file into the database</li>
<li class="page_item page-item-104"><a href="http://evict.nl/open-source/sending-e-mail-using-smtp/" title="Sending e-mail using SMTP">Sending e-mail using SMTP</a></li>
<li class="page_item page-item-95"><a href="http://evict.nl/open-source/telnet/" title="Telnet">Telnet</a> is a library that will let you interact with a host using the Telnet protocol. You can send any command and get the data that is returned by it. It is also possible to react on various events that are triggered.</li>
<li class="page_item page-item-131"><a href="http://evict.nl/open-source/windows-service/" title="Windows Service">Windows Service</a> is the easiest way to create your own true NT service. Just look at the testService project. This has all the code you need.</li>
</ul>
<h2  class="related_post_title">Related posts</h2><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://evict.nl/open-source/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DBPublisher</title>
		<link>http://evict.nl/open-source/dbpublisher/</link>
		<comments>http://evict.nl/open-source/dbpublisher/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 18:14:33 +0000</pubDate>
		<dc:creator>Edwin Vermeer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://evict.nl/wordpress/?page_id=46</guid>
		<description><![CDATA[During my work as a software engineer I was repeatedly asked to get some information out of a database and create some sort of file out of it or to send it by email. To make this task easier i created a templating mechanism and called it DBPublisher. Over the years that library grew in [...]]]></description>
			<content:encoded><![CDATA[<p>During my work as a software engineer I was repeatedly asked to get some information out of a database and create some sort of file out of it or to send it by email. To make this task easier i created a templating mechanism and called it DBPublisher. Over the years that library grew in functionality and flexability. DBPublisher is a library written in Visual Basic 6 and can be access from every programming language that can call an activex dll.</p>
<ul>
<li>Easy datasource and source query definition</li>
<li>Complete free template format. (plain text, html or any other format you can think of)</li>
<li>section grouping and sub grouping</li>
<li>Include other templates which could have a different datasource. (sub forms)</li>
<li>Write the result to one or more files in a folder, FTP it to an other server or send it as an email  (bulk email)</li>
</ul>
<p>The total DBPublisher source code can be downloaded from <a href="http://evict.nl/dbpublisher.zip">here</a>.</p>
<p>Below you can see a sample of a simple publishing template. In the downoad above more samples are available (including mail and ftp samples)</p>
<pre class="brush: html">
&lt;!-- HTT-PARAMETERS&gt;
    DSN          = Provider=Microsoft.Jet.OLEDB.4.0;Data Source=NorthWind.mdb;Persist Security Info=False
    Recordset    = Select * from Demo
    PageGrouping = CustomerID
    TargetDir    = ../samples/
&lt;/HTT-PARAMETERS --&gt;

&lt;html&gt;
    &lt;title&gt;All &lt;%CompanyName%&gt; orders&lt;/title&gt;
       &lt;%INCLUDE header.htt%&gt;
       &lt;center&gt;
            &lt;table&gt;
                &lt;tr&gt;&lt;td colspan=99&gt;This page was generated on &lt;%Date%&gt; at &lt;%Time%&gt; by &#039;&lt;%App.ProductName%&gt;&#039;
                    version &lt;%App.version%&gt;&lt;br&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
                &lt;tr&gt;&lt;td colspan=99&gt;&lt;%INCLUDE orders.htt;CustomerID=CustomerID%&gt;&lt;/td&gt;&lt;/tr&gt;
                &lt;tr&gt;&lt;td&gt;&lt;br&gt; &lt;/td&gt;&lt;/tr&gt;
                &lt;%GROUP OrderID%&gt;
                    &lt;tr&gt;&lt;td colspan=6&gt;&lt;a name=&quot;&lt;%OrderID%&gt;&quot;&gt;&lt;/a&gt;Order : &lt;%OrderID%&gt; date : &lt;%OrderDate%&gt;&lt;/td&gt;
                        &lt;td colspan=4&gt;Class variables&lt;/td&gt;&lt;/tr&gt;
                    &lt;tr&gt;&lt;td&gt;Product&lt;/td&gt;&lt;td&gt;category&lt;/td&gt;&lt;td&gt;Quantity&lt;/td&gt;
                        &lt;td&gt;Unit price&lt;/td&gt;&lt;td&gt;Discount&lt;/td&gt;&lt;td&gt;Price&lt;/td&gt;
                        &lt;td&gt;Counter&lt;/td&gt;&lt;td&gt;Even&lt;/td&gt;&lt;td&gt;In group&lt;/td&gt;
                        &lt;td&gt;Greenbar&lt;/td&gt;&lt;/tr&gt;
                    &lt;%GROUP DetailSection%&gt;
                        &lt;tr&gt;
                             &lt;td&gt;&lt;%ProductName%&gt;&lt;/td&gt;
                             &lt;td&gt;&lt;%CategoryName%&gt;&lt;/td&gt;
                             &lt;td&gt;&lt;%Quantity%&gt;&lt;/td&gt;
                             &lt;td&gt;&lt;%UnitPrice%&gt;&lt;/td&gt;
                             &lt;td&gt;- &lt;%Discount%&gt;&lt;/td&gt;
                             &lt;td&gt;&lt;%Price%&gt;&lt;/td&gt;
                             &lt;td&lt;%EvenRecord%&gt;&gt;(&lt;%RecordNumber%&gt;)&lt;/td&gt;
</pre>
<h2  class="related_post_title">Related posts</h2><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://evict.nl/open-source/dbpublisher/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
