<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/5876" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-10-21T19:10:45-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/5876</id>

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-10-21T19:10:45-04:00</updated>

		<published>2003-10-21T19:10:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28760#p28760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28760#p28760"/>
		<title type="html"><![CDATA[eof question.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28760#p28760"><![CDATA[
i do know these things and i want to learn it all <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> hehe i do know that it will take some time just wanted a push in the write direction tnx for the info <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Oct 21, 2003 7:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-10-19T04:02:28-04:00</updated>

		<published>2003-10-19T04:02:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28665#p28665</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28665#p28665"/>
		<title type="html"><![CDATA[eof question.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28665#p28665"><![CDATA[
<blockquote class="uncited"><div>could you give a small example not sur on what you mean ..? just wana know how you trigger an eof</div></blockquote>Hi there Ofloo. An example script can be found at:<br><a href="http://members.fortunecity.com/eggheadtcl" class="postlink">http://members.fortunecity.com/eggheadtcl</a><br>script: demo-ftpconnect.tcl<br><br>In case of a connection that fails because of a DNS lookup error or a connection refused, the [connect] immediately fails which must be catch'ed.<br>If the connection succeeds the FTP server will send a status code 220 to indicate the server is ready to accept commands.<br>If the FTP server closes a connection, a blank line will be send to your script.<br>(Note that if the FTP server sends a blank line, nothing will be send to your script.)<br><br>There are some things you may want to (re)consider. <br><br>1. If you do want to write your own script you will have to dive a bit into the FTP RFC. Additionally, if you are new to listen/connect/control or Tcl socket programming you probably will need to put quite some time into it.<br><br>2. There is a FTP package available in the standard tcllib. Use google to locate the tcllib on e.g. sourceforge. This package may give you a more convenient interface between your eggdrop and an FTP server.<br><br>3. Also a shell program like "wget" can connect to ftp servers and download the directory listings. Using such shell program may offer another convenient interface.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Sun Oct 19, 2003 4:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-10-19T00:04:35-04:00</updated>

		<published>2003-10-19T00:04:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28664#p28664</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28664#p28664"/>
		<title type="html"><![CDATA[eof question.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28664#p28664"><![CDATA[
could you give a small example not sur on what you mean ..? just wana know how you trigger an eof<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 19, 2003 12:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-10-18T17:29:54-04:00</updated>

		<published>2003-10-18T17:29:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28657#p28657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28657#p28657"/>
		<title type="html"><![CDATA[eof question.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28657#p28657"><![CDATA[
The connect command is a eggdrop provided command and seperate to the Tcl file handler and socket support.<br><br>If a connection is closed (or EOF), your proc shoudl receive a blank like. In Tcl terms, the input text == ""<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Oct 18, 2003 5:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-10-18T12:02:15-04:00</updated>

		<published>2003-10-18T12:02:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28639#p28639</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28639#p28639"/>
		<title type="html"><![CDATA[eof question.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28639#p28639"><![CDATA[
I want to make script that crawls ftp servers automatic and writes its content to a mysql or csv database, first problem is if i use connect<br><br>set idx [connect &lt;hostname&gt; &lt;port&gt;]<br><br>if the connection failed, an EOF will arrive for that idx i do know this but what does an eof react to or what does it show ?<br><br>so the question is actualy how do i use eof on this ? or how is eof used .?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Oct 18, 2003 12:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
