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

	<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>2010-09-15T22:04:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-15T22:04:40-04:00</updated>

		<published>2010-09-15T22:04:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94399#p94399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94399#p94399"/>
		<title type="html"><![CDATA[Ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94399#p94399"><![CDATA[
Any one able to help with this or come up with something similar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Sep 15, 2010 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-13T07:35:41-04:00</updated>

		<published>2010-09-13T07:35:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94361#p94361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94361#p94361"/>
		<title type="html"><![CDATA[Ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94361#p94361"><![CDATA[
Changed <br><div class="codebox"><p>Code: </p><pre><code>if {![info exists putinftp_running]} { timer $sendtime putinftp set putinftp_running 1}</code></pre></div>To<br><div class="codebox"><p>Code: </p><pre><code>if {[info exists putinftp_running]} { timer $sendtime putinftp set putinftp_running 1}</code></pre></div>Still getting the following error<br><br>PutinFtp.TCL: Uploading<br>Tcl error in script for 'timer1':<br>child process exited abnormally<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Mon Sep 13, 2010 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2010-09-12T10:57:49-04:00</updated>

		<published>2010-09-12T10:57:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94354#p94354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94354#p94354"/>
		<title type="html"><![CDATA[Ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94354#p94354"><![CDATA[
You're right. Seems there is a variable missing somewhere.<br><br>Add in set putinftp_running 1 just after set serverpath "/home/chatters/public_html/Logfiles/" <br><br>Also make if {![info exists putinftp_running]} to if {[info exists putinftp_running]} (just remove the ! basically).<br><br>Now it should start the timer when the script is loaded.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sun Sep 12, 2010 10:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-12T08:27:01-04:00</updated>

		<published>2010-09-12T08:27:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94352#p94352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94352#p94352"/>
		<title type="html"><![CDATA[Ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94352#p94352"><![CDATA[
If I remove that will it stop the script sending the files every couple of minutes though as im using it to send room logs to my website<br><br>Edit done that but nothing is happening at all now<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Sun Sep 12, 2010 8:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2010-09-11T22:05:17-04:00</updated>

		<published>2010-09-11T22:05:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94349#p94349</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94349#p94349"/>
		<title type="html"><![CDATA[Ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94349#p94349"><![CDATA[
Maybe try removing the timer $sendtime putinftp line from proc putinftp?<br><br>It's kind of weird that a proc is calling itself with a timer within itself. Creates a pretty nasty loop I would imagine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sat Sep 11, 2010 10:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-13T07:34:23-04:00</updated>

		<published>2010-09-11T16:35:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94345#p94345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94345#p94345"/>
		<title type="html"><![CDATA[Ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94345#p94345"><![CDATA[
Hi im using an ftp script on my eggy that i found in the tcl archive however it dont seem to be uploading the files do i have to add any thing else to my eggdrop for it to beable to use ftp scripts<br><br>Edit: Restrted my eggdrop getting this error on partyline<br><br>PutinFtp.TCL: Uploading<br>Tcl error in script for 'timer4':<br>child process exited abnormally<br><br>Script below is what im using<br><div class="codebox"><p>Code: </p><pre><code>#This Script Upload files (default: two) to ur remote server##If u want Upload More Files, Just Add more lines, ex:#DEFAULT 2:#set onefile "file1"#set twofile "file2"##Add More Lines if u want upload more files.##set threefile "file3"#set fourfile "file4"# #find this line:#global serverftp ftpuser ftpass sendtime eggpath serverpath onefile twofile##and add this:#threefile fourfile ##example: global serverftp ftpuser ftpass sendtime eggpath serverpath threefile fourfile##And find this lines:#puts $wurstbaum "put $eggpath/$onefile $serverpath/$twofile"##and add after it's lines:#puts $wurstbaum "put $eggpath/$threefile $serverpath/$threefile"#puts $wurstbaum "put $eggpath/$fourfile $serverpath/$fourfile"###################################################################################################################### Put every x minutes send ur files.#set sendtime 1########################################################### Put in ur name file.#set onefile "fileone"set twofile "filetwo"########################################################### Now enter the hostname of the ftp server where upload.#set serverftp ""########################################################### Username and Password for the ftp account.#set ftpuser ""set ftpass ""########################################################### Path of your files on your shell#set eggpath "/home/ircduser/Gateway/logs/"########################################################### Absolute path of ur remote server FTP#set serverpath "/home/chatters/public_html/Logfiles/"##################################################################### DONT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING #####################################################################if {[info exists putinftp_running]} { timer $sendtime putinftp set putinftp_running 1} proc putinftp { } {global serverftp ftpuser ftpass sendtime eggpath serverpath onefile twofileputlog "PutinFtp.TCL: Uploading"set ftpclient [exec which ftp]set wurstbaum [open "|$ftpclient -n $serverftp" w]puts $wurstbaum "user $ftpuser $ftpass"puts $wurstbaum "bin"puts $wurstbaum "put $eggpath/$onefile $serverpath/$onefile"puts $wurstbaum "put $eggpath/$twofile $serverpath/$twofile"puts $wurstbaum "quit"putlog "PutinFtp.TCL: Uploaded File"close $wurstbaum        timer $sendtime putinftpreturn 1}putlog "4-==PutinFtp.TCL\: v1.0 by Nor7on loaded.==-"######################################################################################################################################################            Thats it.####Contac: yournick@nor7on.org - Channel: #Madrid - Undernet. web: www.nor7on.org</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Sat Sep 11, 2010 4:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
