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

	<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>2005-03-18T22:33:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-03-18T22:33:37-04:00</updated>

		<published>2005-03-18T22:33:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47902#p47902</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47902#p47902"/>
		<title type="html"><![CDATA[ChanStats FTP and Passive mode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47902#p47902"><![CDATA[
my FTP clients use passive directly before they initiate the file transfer in your case before the PORT command. since you are using an 3rd party ftp client I suggest you to refer its man page to get the argument for using passive mode.<br>in case you use the unix command "FTP" it will probably be the parameter -p (lowercase letter). in which case the line would look like:<br>[open "|$cs(ftpclient) -np $cs(ftpname) $cs(ftpport) " w]<br>PS: i wonder why the scripter didnt use the "ftp://[user:password@]host[:port]" format for login. using<div class="codebox"><p>Code: </p><pre><code>[open "|$cs(ftpclient) -p ftp://$cs(username):$cs(password)@$cs(ftpname):$cs(ftpport)" w]</code></pre></div>would spare you the "puts $ftpid "user ..." line ^-^.<br>in case you are really using a not all to long outdated version of FTP ^^. im not familar with that command so I might have misinterpreted the man page <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Mar 18, 2005 10:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Venus]]></name></author>
		<updated>2005-03-18T21:14:39-04:00</updated>

		<published>2005-03-18T21:14:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47899#p47899</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47899#p47899"/>
		<title type="html"><![CDATA[ChanStats FTP and Passive mode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47899#p47899"><![CDATA[
Where do I put this? I tried putting it above or below the other puts lines and it still does not work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6055">Venus</a> — Fri Mar 18, 2005 9:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-10T22:57:15-04:00</updated>

		<published>2005-03-10T22:57:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47415#p47415</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47415#p47415"/>
		<title type="html"><![CDATA[ChanStats FTP and Passive mode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47415#p47415"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>puts $ftpid "passive"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Mar 10, 2005 10:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Venus]]></name></author>
		<updated>2005-03-10T19:11:56-04:00</updated>

		<published>2005-03-10T19:11:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47412#p47412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47412#p47412"/>
		<title type="html"><![CDATA[ChanStats FTP and Passive mode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47412#p47412"><![CDATA[
Greetings.<br><br>I am still getting used to the syntax for tcl scripting so I am hoping for a quick response for what I think is easy but I don't know how to fix.<br><br>My problem is I am using Chanstats 3.1.2 and it will not upload my file to an ftp. I belive the problem is it needs to be in passive mode. I have looked on the forum for setting passive mode but the most I can find is to set -mode passive. It dosnt say where to set this and certainly is not pretaining to ChanStats.<br><br>So could someone tell me what line to set passive mode on? I belive it is in these lines but I am not sure.<br><div class="codebox"><p>Code: </p><pre><code>       set ftpid [open "|$cs(ftpclient) -n $cs(ftpname) $cs(ftpport) " w]       puts $ftpid "user $cs(username) $cs(password)"       foreach a $ullist {        if {[file exists $a]} {         puts $ftpid "put $a $cs(ftpfolder)[lindex [split $a "/"] end]"        } else {putlog "CHATstats: Skipped uploading $a, file not found."}       }</code></pre></div>Anyone with experience with ChanStats that could help me figure out how to set it to passive? I would truely apreciate any help in this matter.<br><br>Venus<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6055">Venus</a> — Thu Mar 10, 2005 7:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
