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

	<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-11-28T07:19:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2010-11-28T07:19:18-04:00</updated>

		<published>2010-11-28T07:19:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95208#p95208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95208#p95208"/>
		<title type="html"><![CDATA[ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95208#p95208"><![CDATA[
Try replacing:<div class="codebox"><p>Code: </p><pre><code>set ftp [open "|/usr/bin/ftp -n $daFTPsite" w]</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>set ftp [open "|ftp -n $daFTPsite" w]</code></pre></div>I know some *nix distros have a weird placement of the ftp command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sun Nov 28, 2010 7:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-11-23T08:58:31-04:00</updated>

		<published>2010-11-23T08:58:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95180#p95180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95180#p95180"/>
		<title type="html"><![CDATA[ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95180#p95180"><![CDATA[
Have tried the above script still not doing anything do my eggy need to have anything else added to it for this to work correctly<br><br>Also what permissions need to be set on the web directory its currently set to 755 also should the directory be creayed in public_ftp or in a home directory<br><br>Had this error on typing !upload<br><div class="codebox"><p>Code: </p><pre><code>Tcl error [command:upload]: couldn't execute "/usr/bin/ftp": no such file or directory</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Tue Nov 23, 2010 8:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[madpinger]]></name></author>
		<updated>2010-11-20T16:13:19-04:00</updated>

		<published>2010-11-20T16:13:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95152#p95152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95152#p95152"/>
		<title type="html"><![CDATA[ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95152#p95152"><![CDATA[
<blockquote class="uncited"><div>Well, here's some ftp uploader code I wrote for my pisg files, minus the pisg functionality (because it's probably redundant to you):<div class="codebox"><p>Code: </p><pre><code>#               min hr day month yrbind time - "*     *   *     *      *" timed:upload</code></pre></div></div></blockquote>TIME (stackable)<br>bind time &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>proc-name &lt;minute&gt; &lt;hour&gt; &lt;day&gt; &lt;month&gt; &lt;year&gt;<br><br>Just cause I expect it to be asked <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=11373">madpinger</a> — Sat Nov 20, 2010 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2010-11-19T23:50:18-04:00</updated>

		<published>2010-11-19T23:50:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95143#p95143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95143#p95143"/>
		<title type="html"><![CDATA[ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95143#p95143"><![CDATA[
Well, here's some ftp uploader code I wrote for my pisg files, minus the pisg functionality (because it's probably redundant to you):<div class="codebox"><p>Code: </p><pre><code>#FTP Host:set daFTPsite "ftp.site.com"#FTP User:set daFTPuser "ftpuser"#FTP Pass:set daFTPpass "ftppass"#Local Location:set daFTPlocal "/directory/on/your/shell"#Remote Locationset daFTPremote "./directory/to/your/websites/home/directory"bind time - "* * * * *" timed:uploadbind pub m "!upload" command:uploadproc timed:upload {m h d m y} {global daFTPsite daFTPuser daFTPpass daFTPlocal daFTPremoteset ftp [open "|/usr/bin/ftp -n $daFTPsite" w]putlog "FTP: Starting FTP Upload..."puts $ftp "user $daFTPuser $daFTPpass"puts $ftp "bin"puts $ftp "put $daFTPlocal/index.html $daFTPremote/index.html"#puts $ftp "put $daFTPlocal/gigirc.html $daFTPremote/gigirc.html"#puts $ftp "put $daFTPlocal/pingbad.html $daFTPremote/pingbad.html"puts $ftp "quit"close $ftpputlog "FTP: Upload Complete."}proc command:upload {nick uh hand chan args} {global daFTPsite daFTPuser daFTPpass daFTPlocal daFTPremoteset ftp [open "|/usr/bin/ftp -n $daFTPsite" w]putlog "FTP: Starting FTP Upload..."puts $ftp "user $daFTPuser $daFTPpass"puts $ftp "bin"puts $ftp "put $daFTPlocal/index.html $daFTPremote/index.html"#puts $ftp "put $daFTPlocal/gigirc.html $daFTPremote/gigirc.html"#puts $ftp "put $daFTPlocal/pingbad.html $daFTPremote/pingbad.html"puts $ftp "quit"close $ftpputlog "FTP: Upload Complete."}putlog "ftp uploader by Trixar_za Loaded..."</code></pre></div> You could probably modify the above code to suit your needs. If you provide me the relative directories on the shell and website, I can code that in for you.<br><br>The above should trigger every minute.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Fri Nov 19, 2010 11:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-11-16T14:33:34-04:00</updated>

		<published>2010-11-16T14:33:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95101#p95101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95101#p95101"/>
		<title type="html"><![CDATA[Re: ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95101#p95101"><![CDATA[
I need it to work with an eggdrop because i have a few different files that need uploading to different directories on my website so the script will be working on to different eggdrops doing it through my shell will make this difficult<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Tue Nov 16, 2010 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-11-16T12:06:23-04:00</updated>

		<published>2010-11-16T12:06:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95097#p95097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95097#p95097"/>
		<title type="html"><![CDATA[Re: ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95097#p95097"><![CDATA[
<blockquote class="uncited"><div>Hey can any one help with an ftp script i need to be able to upload some files to my website via my eggdrop every couple of minutes but the bot will need to do it auto ive tried the scripts in the archives and none of them seem to work properly any help greatly appreciated</div></blockquote>I remember doing something like this, some  time ago though.  <br><br>As I recall, I didn't use the bot at all.  You might give this some thought.<br><br>Try using an ftp script instead.  Just have it log into your other server, and upload the files -  don't involve the bot at all.<br><br>You can schedule the script's runs, with crontab.<br><br>I seem to remember that there was some minor little trick to writing a script file that worked properly.   I'm sure I found it, just by googling.<br>Give it a try...   google for things like:<br>linux ftp script<br>and<br>linux ftp commands<br>and, if you need help with crontab, you can google it too, or visit:<br><a href="http://ss64.com/bash/" class="postlink">http://ss64.com/bash/</a><br><br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Nov 16, 2010 12:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-11-16T07:57:57-04:00</updated>

		<published>2010-11-16T07:57:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95094#p95094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95094#p95094"/>
		<title type="html"><![CDATA[ftp help required]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95094#p95094"><![CDATA[
Hey can any one help with an ftp script i need to be able to upload some files to my website via my eggdrop every couple of minutes but the bot will need to do it auto ive tried the scripts in the archives and none of them seem to work properly any help greatly appreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Tue Nov 16, 2010 7:57 am</p><hr />
]]></content>
	</entry>
	</feed>
