egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP.tcl problem...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Jimbo
Guest





PostPosted: Tue May 28, 2002 6:41 am    Post subject: Reply with quote

I am using ftp.tcl using this code:

Code:
bind pub - !connect ftp_connect

proc ftp_connect {nick uhost hand chan arg} {

set chan #TestChannel
set ip [lindex $arg 0]
set mode [lindex $arg 1]
if {$mode == ""} {
set mode "active"
}
set delay 10
set filea "rootlist.txt"
set server "$ip"
set user "anonymous"
set pass "me@me.com"
if {![FTP::Open $server $user $pass -port 21 -mode $mode -timeout 45]} {ETC}

In this i am using !connect <ip> to connect. However the first time i type that it says connection failed, and when i type it again it works...Is there any reason why i have to type this twice?
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber