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

	<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>2004-12-10T14:12:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-10T14:12:56-04:00</updated>

		<published>2004-12-10T14:12:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43826#p43826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43826#p43826"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43826#p43826"><![CDATA[
moving the received file to directory "files":<div class="codebox"><p>Code: </p><pre><code>bind pub n !update {exec wget -N http://www/file; mv file files;#}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Dec 10, 2004 2:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T13:51:53-04:00</updated>

		<published>2004-12-10T13:51:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43825#p43825</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43825#p43825"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43825#p43825"><![CDATA[
Hello<br><br><br>now i have found out of this but a little question<br><br>what is the cmd to overwrite the file if it allready exits on the folder <br><br>bind pub n !update {exec wget -N --directory-prefix=/patch-tofile/ <a href="http://domain/filename.zip" class="postlink">http://domain/filename.zip</a>;#}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-12-10T13:50:19-04:00</updated>

		<published>2004-12-10T13:50:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43824#p43824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43824#p43824"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43824#p43824"><![CDATA[
well, just *another* stupid idea:<br>why don't you use http.tcl and ftp.tcl ?<br>they are useful packages for eggdrops and the way to use them is really simple.<br><br>And more: you're never sure that wget (or lynx or any text-based browser) is on your shell.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Dec 10, 2004 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T12:45:39-04:00</updated>

		<published>2004-12-10T12:45:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43820#p43820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43820#p43820"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43820#p43820"><![CDATA[
Hello<br><br><br>that is right what you says many dont know much about what they are runnig <br><br>i no little off it compile an son make small tcl script <br><br>i have tried to read more about it at i cant find out off speciel because i am a dsnish guy an most off it is in english so it is damm hard to me <br><br>but i tried to learn but this i dont have any clude how to make or get it to work <br><br>Sorry if is affended you but we cant all be good this everything <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 12:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-10T12:35:38-04:00</updated>

		<published>2004-12-10T12:35:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43819#p43819</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43819#p43819"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43819#p43819"><![CDATA[
<blockquote class="uncited"><div>man wget ?</div></blockquote>it's a Linux/UNIX command, short for "manual"; and wget is a non-interactive file retrieval utility for Linux/UNIX; so the `man wget' command, executed in your shell, will display on your terminal wget's manual pages<br><br>on a side note, it never ceases to amaze me how people without a slightest clue about Linux/UNIX commands and using these operating systems in general, manage to compile, run and support software like eggdrop... (no offense to you jailmann)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Dec 10, 2004 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T12:08:30-04:00</updated>

		<published>2004-12-10T12:08:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43818#p43818</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43818#p43818"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43818#p43818"><![CDATA[
man wget ?<br><br>i am new to this do you mean like this <br><br>bind pub n !update {man wget -N <a href="http://your.homepage/filename.zip" class="postlink">http://your.homepage/filename.zip</a>;#}<br><br>or ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-12-10T11:49:04-04:00</updated>

		<published>2004-12-10T11:49:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43816#p43816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43816#p43816"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43816#p43816"><![CDATA[
man wget<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Dec 10, 2004 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T11:39:09-04:00</updated>

		<published>2004-12-10T11:39:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43815#p43815</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43815#p43815"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43815#p43815"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind pub n !update {exec wget -N http://your.homepage/filename.zip;#}</code></pre></div>if you think adding this ONE line to your config/scripts is hard, I can't help you further</div></blockquote>but the file gois into /bot/ i should go into this /bot/files/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-12-10T11:29:41-04:00</updated>

		<published>2004-12-10T11:29:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43814#p43814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43814#p43814"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43814#p43814"><![CDATA[
<blockquote class="uncited"><div>how do i get the file to end up the right place</div></blockquote>man wget<br><blockquote class="uncited"><div>ment was the whole other thing was hard to do therefore i found another salution <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">:)</div></blockquote>I think "boring" is the word you're looking for. The hard part is getting you to provide enough details...<br><br>You failed to tell us what the list looks like (the html)<br><br>This is what you need to do:<br>* download page<br>* extract url of the last file matching some pattern<br>* check if it matches the previous filename (which is "" the first time)<br>* if not: download file and rename it (store the original name to match the next time)<br><br>Here's some code to extract the last href matching a pattern...<div class="codebox"><p>Code: </p><pre><code>set html {...&lt;A href="../bleh/MX-II 011204.zip"&gt;...&lt;/A&gt; &lt;A href="../blah/MX-II 071204.zip"&gt;...&lt;/A&gt;...}set name {MX-II [0-9]+\.zip}set href [lindex [regexp -nocase -inline ".*href="(.*?$name)" $html] 1]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Dec 10, 2004 11:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T11:13:45-04:00</updated>

		<published>2004-12-10T11:13:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43813#p43813</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43813#p43813"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43813#p43813"><![CDATA[
Hello<br><br>i was to fast to reply to you hehe <br><br>on the bot the scripts ind here bot/scripts an the files are her bot/files<br><br>how do i get the file to end up the right place<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T11:08:20-04:00</updated>

		<published>2004-12-10T11:08:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43812#p43812</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43812#p43812"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43812#p43812"><![CDATA[
Hello<br><br>sorry demond that i ment was the whole other thing was hard to do therefore i found another salution <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 11:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-10T11:01:07-04:00</updated>

		<published>2004-12-10T11:01:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43811#p43811</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43811#p43811"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43811#p43811"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n !update {exec wget -N http://your.homepage/filename.zip;#}</code></pre></div>if you think adding this ONE line to your config/scripts is hard, I can't help you further<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Dec 10, 2004 11:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-10T09:48:13-04:00</updated>

		<published>2004-12-10T09:48:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43810#p43810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43810#p43810"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43810#p43810"><![CDATA[
Hello<br><br>this seems to be hard to make <br><br>anyone can help with this then same ting just the file have same name on this link<br><br>when i writ !update then the tcl script download the file from a http page an put in a folder<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Fri Dec 10, 2004 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jailmann]]></name></author>
		<updated>2004-12-08T20:11:36-04:00</updated>

		<published>2004-12-08T20:11:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43722#p43722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43722#p43722"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43722#p43722"><![CDATA[
Hello<br><br>i mean http<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4801">Jailmann</a> — Wed Dec 08, 2004 8:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-12-08T19:40:19-04:00</updated>

		<published>2004-12-08T19:40:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43718#p43718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43718#p43718"/>
		<title type="html"><![CDATA[script ftp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43718#p43718"><![CDATA[
Did you mean "http" when you said "ftp" or did I miss something? Do you have access to the new files by any other means than via http?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Dec 08, 2004 7:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
