<?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/6089" />

	<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-11-15T17:18:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-15T17:11:13-04:00</updated>

		<published>2003-11-15T17:11:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30064#p30064</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30064#p30064"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30064#p30064"><![CDATA[
I said then ?5 but like i see he remove ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Sat Nov 15, 2003 5:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-15T17:18:03-04:00</updated>

		<published>2003-11-15T17:07:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30063#p30063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30063#p30063"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30063#p30063"><![CDATA[
<blockquote class="uncited"><div>proc time_sendftp { *5 * * * * } {</div></blockquote>this is wrong, use any letter instead of the "*" (it has no sense). also the bind should be ?5* because *5 *.. will not only match minutes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Nov 15, 2003 5:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-15T03:25:12-04:00</updated>

		<published>2003-11-15T03:25:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30019#p30019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30019#p30019"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30019#p30019"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set localfile usr/local/apache2/www/ellmout.net/biboune/ms-dos.htmlset server www.expert-gamers.comset user ms-dosset pass mypassset remotefile /stats/ms-dos.htmlbind time - * time_sendftpproc time_sendftp { *5 * * * * } {global pingcheck localfile server user pass remotefileif {![file exist $localfile]} {return "File $localfile does not exist."}if {$pingcheck != ""} {if {[catch {exec [lindex $pingcheck 0] [lrange $pingcheck 1 end] $server &gt; /dev/null 2&gt; /dev/null}]} {return "Machine $server seems to be dead."}}set noftp [catch {set ftpprog [exec which ftd]}] if {$noftp} {if {[file executable /usr/bin/ftp]} {set ftpprog /usr/bin/ftpset noftp 0}if {[file executable /bin/ftp]} {set ftpprog /bin/ftpset noftp 0}}if {$noftp} { return "You don't seem to have the 'ftp' tool" }set pipe [open "|$ftpprog -n $server" w]puts $pipe "user $user $pass"puts $pipe "bin"puts $pipe "put $localfile $remotefile"puts $pipe "quit"close $pipereturn 1}</code></pre></div>Doesn't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mad.gif" width="15" height="15" alt=":x" title="Mad"><p>Statistics: Posted by Guest — Sat Nov 15, 2003 3:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-14T03:22:45-04:00</updated>

		<published>2003-11-14T03:22:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29968#p29968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29968#p29968"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29968#p29968"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time "*5 * * * *" time_sendftpproc time_sendftp { args } {sendftp /usr/local/apache2/www/ellmout.net/biboune/ms-dos.html www.expert-gamers.com ms-dos mypass /stats/ms-dos.htmlglobal pingcheckif {![file exist $localfile]} {return "File $localfile does not exist."}if {$pingcheck != ""} {if {[catch {exec [lindex $pingcheck 0] [lrange $pingcheck 1 end] $server &gt; /dev/null 2&gt; /dev/null}]} {return "Machine $server seems to be dead."}}set noftp [catch {set ftpprog [exec which ftd]}] if {$noftp} {if {[file executable /usr/bin/ftp]} {set ftpprog /usr/bin/ftpset noftp 0}if {[file executable /bin/ftp]} {set ftpprog /bin/ftpset noftp 0}}if {$noftp} { return "You don't seem to have the 'ftp' tool" }set pipe [open "|$ftpprog -n $server" w]puts $pipe "user $user $pass"puts $pipe "bin"puts $pipe "put $localfile $remotefile"puts $pipe "quit"close $pipereturn 1}</code></pre></div>can work ? i have rehash my bot and it doesn't die, but i am not shure that it refreshes my .hmtl all the 5 minutes.<p>Statistics: Posted by Guest — Fri Nov 14, 2003 3:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-11-14T02:19:52-04:00</updated>

		<published>2003-11-14T02:19:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29967#p29967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29967#p29967"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29967#p29967"><![CDATA[
<blockquote class="uncited"><div>amm, i think its something like this:<br><div class="codebox"><p>Code: </p><pre><code>bind time "?5 * * * *" sendftpproc sendftp {args} { sendftp /myfolders/file.html} </code></pre></div></div></blockquote>hmmm? a proc calling itself ? this would cause an endless loop i'd say....<br><br>you need to rename the proc that is called by the timer to something else and the call to "sendftp /myfolders/file.html &lt;server&gt; &lt;user&gt; &lt;pass&gt; &lt;remotefile&gt;"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Fri Nov 14, 2003 2:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-13T14:54:44-04:00</updated>

		<published>2003-11-13T14:54:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29956#p29956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29956#p29956"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29956#p29956"><![CDATA[
amm, i think its something like this:<br><div class="codebox"><p>Code: </p><pre><code>bind time "?5 * * * *" sendftpproc sendftp {args} { sendftp /myfolders/file.html} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Nov 13, 2003 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-13T14:22:10-04:00</updated>

		<published>2003-11-13T14:22:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29953#p29953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29953#p29953"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29953#p29953"><![CDATA[
I have look that the page will be updated when i .rehash my bot.<br>When can i change the script to up the file all the 10 min long ?<br><div class="codebox"><p>Code: </p><pre><code>proc sendftp { localfile server user pass remotefile } {global pingcheckif {![file exist $localfile]} {return "sendftp: File $localfile does not exist."}if {$pingcheck != ""} {if {[catch {exec [lindex $pingcheck 0] [lrange $pingcheck 1 end] $server &gt; /dev/null 2&gt; /dev/null}]} {return "sendftp: Machine $server seems to be dead."}}set noftp [catch {set ftpprog [exec which ftd]}] if {$noftp} {if {[file executable /usr/bin/ftp]} {set ftpprog /usr/bin/ftpset noftp 0}if {[file executable /bin/ftp]} {set ftpprog /bin/ftpset noftp 0}}if {$noftp} { return "sendftp: You don't seem to have the 'ftp' tool" }set pipe [open "|$ftpprog -n $server" w]puts $pipe "user $user $pass"puts $pipe "bin"puts $pipe "put $localfile $remotefile"puts $pipe "quit"close $pipereturn 1}</code></pre></div>I past the script if you want to help me and if you havent get it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Thu Nov 13, 2003 2:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-13T13:30:55-04:00</updated>

		<published>2003-11-13T13:30:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29950#p29950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29950#p29950"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29950#p29950"><![CDATA[
and for my first question ?<br>when the file is upload ?<p>Statistics: Posted by Guest — Thu Nov 13, 2003 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-13T12:20:33-04:00</updated>

		<published>2003-11-13T12:20:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29947#p29947</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29947#p29947"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29947#p29947"><![CDATA[
np,i think it dont work, maybe you could try:<br><br>sendftp /myfolders/1.html <br>sendftp /myfolders/2.html <br>sendftp /myfolders/2.html <br><br>But you ca try it... sendftp /myfolders/*.html<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Nov 13, 2003 12:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-13T12:18:09-04:00</updated>

		<published>2003-11-13T12:18:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29946#p29946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29946#p29946"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29946#p29946"><![CDATA[
thx for this script Kami it works very fine <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>but i want to know, when the file is upload and if we can up all the .html file ?<br><br>sendftp /myfolders/*.html <br><br>works ?<p>Statistics: Posted by Guest — Thu Nov 13, 2003 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-12T17:29:47-04:00</updated>

		<published>2003-11-12T17:29:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29926#p29926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29926#p29926"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29926#p29926"><![CDATA[
I think <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=306" class="postlink">this</a>, is the one you are searching...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Wed Nov 12, 2003 5:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-12T16:31:42-04:00</updated>

		<published>2003-11-12T16:31:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29925#p29925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29925#p29925"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29925#p29925"><![CDATA[
For info, i want this script to upload my meL stats in an other ftp. If meL include lines to make this action, say me where <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Wed Nov 12, 2003 4:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-12T16:25:49-04:00</updated>

		<published>2003-11-12T16:25:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29924#p29924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29924#p29924"/>
		<title type="html"><![CDATA[Seek a FTP script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29924#p29924"><![CDATA[
Hello i am looking for a TCL script for my eggdrop.<br>I want that this script upload all *.html files in a folders, to an other ftp all the 10 minutes long.<br>If you have good link ! or that you can codding it, thanx a lot for your help and see you soon <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>( i need you ! )<p>Statistics: Posted by Guest — Wed Nov 12, 2003 4:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
