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

	<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>2013-08-21T07:38:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[janii]]></name></author>
		<updated>2013-08-21T07:38:58-04:00</updated>

		<published>2013-08-21T07:38:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101990#p101990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101990#p101990"/>
		<title type="html"><![CDATA[NeeD Sum Help Regarding FTP TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101990#p101990"><![CDATA[
Thanx willyw for ur help and reply i really appreciate it but tht wasnt which  was looking for i just want sum1 to edit my tcl so it shldnt stop uploading trivia score file ... thanks once again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11746">janii</a> — Wed Aug 21, 2013 7:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-07-29T19:59:20-04:00</updated>

		<published>2013-07-29T19:59:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101920#p101920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101920#p101920"/>
		<title type="html"><![CDATA[Re: NeeD Sum Help Regarding FTP TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101920#p101920"><![CDATA[
<blockquote class="uncited"><div>hello im using ftp.tcl for uploading my score file to my website<br>...</div></blockquote>I don't know  what is going on with the script and your use of it.<br><br>But I too have a bot that generates some files that I want uploaded to a website daily.   I don't use TCL at all to do it.   Perhaps this method will work for you too.<br><br>Write a bash script similar to the below:<br><div class="codebox"><p>Code: </p><pre><code>ftp -n -v &lt;&lt;EOFopen your_website_ftp_address_hereuser username_here password_hereasciicd path/wherever/you/want/uploaded/files/to/go/hereput filename.ext_hereclosebyeEOF</code></pre></div>You can research this more with google.<br>example:<br><a href="http://www.linuxquestions.org/questions/programming-9/bash-script-519327/#post2586206" class="postlink">http://www.linuxquestions.org/questions ... ost2586206</a><br><br>After you  save the ftp script, make the file executable.<br>example:<br><a href="http://www.techimo.com/forum/applications-operating-systems/22901-making-file-executable-linux.html" class="postlink">http://www.techimo.com/forum/applicatio ... linux.html</a><br><br>More reference here:<br><a href="http://ss64.com/bash/chmod.html" class="postlink">http://ss64.com/bash/chmod.html</a><br><br>Next, create a crontab job to run that executable file on whatever schedule you wish.<br>reference:  <a href="http://ss64.com/bash/crontab.html" class="postlink">http://ss64.com/bash/crontab.html</a><br>example:  <a href="http://www.cyberciti.biz/faq/crontab-every-10-min/" class="postlink">http://www.cyberciti.biz/faq/crontab-every-10-min/</a><br><br><br>I know this does not directly respond to what you asked, but I hope it helps you get the job done.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Jul 29, 2013 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[janii]]></name></author>
		<updated>2013-07-29T17:09:54-04:00</updated>

		<published>2013-07-29T17:09:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101919#p101919</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101919#p101919"/>
		<title type="html"><![CDATA[No one ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101919#p101919"><![CDATA[
Hey kindly help me out ... thanx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11746">janii</a> — Mon Jul 29, 2013 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[janii]]></name></author>
		<updated>2013-07-13T09:36:40-04:00</updated>

		<published>2013-07-13T09:36:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101848#p101848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101848#p101848"/>
		<title type="html"><![CDATA[NeeD Sum Help Regarding FTP TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101848#p101848"><![CDATA[
hello im using ftp.tcl for uploading my score file to my website but after 4 or 5 hours bot stops uploading file and i ve to restart the bot in order to get it work again and this things continue as its a trivia channel cannot restart the bot again n again kindly help me if why the tcl is behaving like this i tried every version of eggdrop but its the same thanks in advance<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 10########################################################### Put in ur name file.#set onefile "index.html"########################################################### Now enter the hostname of the ftp server where upload.#set serverftp "server"########################################################### Username and Password for the ftp account.#set ftpuser "user"set ftpass "pass"########################################################### Path of your files on your shell#set eggpath "/home/huntin/lusttty/public_html/"########################################################### Absolute path of ur remote server FTP#set serverpath "/public_html/stats/"##################################################################### 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 "quit"putlog "PutinFtp.TCL: Uploaded File"close $wurstbaum        timer $sendtime putinftpreturn 1}putlog "4-==PutinFtp.TCL\: v1.0 by meca loaded.==-"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11746">janii</a> — Sat Jul 13, 2013 9:36 am</p><hr />
]]></content>
	</entry>
	</feed>
