This is the new home of the egghelp.org community forum. this announcement post . Click the X in the top right-corner of this box to dismiss this message. 
Old posts that have not been replied to for several years.
			
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Thu Nov 20, 2003 5:47 pm 
			
			
			
			
			
			I nead a script that shows whos ftp is online can eny1 help me whit that 
I dont know if its posibul to make  
CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								Sir_Fz 							 
						Revered One 			
		Posts:  3794 Joined:  Sun Apr 27, 2003 3:10 pmLocation:  Lebanon
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Sir_Fz  Thu Nov 20, 2003 6:45 pm 
			
			
			
			
			
			A forum search would help.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Fri Nov 21, 2003 12:29 pm 
			
			
			
			
			
			i found this scrip on the forum but i cant make it work
			
			
									
						
							CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								Aron 							 
						Halfop 			
		Posts:  86 Joined:  Sat Mar 15, 2003 8:35 am 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Aron  Fri Nov 21, 2003 4:05 pm 
			
			
			
			
			
			You DID fill in your ftp's address in the $biglist variables, right?
			
			
									
						
							The best way to start learning is to start helping.
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Fri Nov 21, 2003 4:51 pm 
			
			
			
			
			
			yes i did fill in ftp's address 
			
			
									
						
							CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								Aron 							 
						Halfop 			
		Posts:  86 Joined:  Sat Mar 15, 2003 8:35 am 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Aron  Fri Nov 21, 2003 6:21 pm 
			
			
			
			
			
			So it does not show any error at all?
			
			
									
						
							The best way to start learning is to start helping.
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								Sir_Fz 							 
						Revered One 			
		Posts:  3794 Joined:  Sun Apr 27, 2003 3:10 pmLocation:  Lebanon
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Sir_Fz  Fri Nov 21, 2003 6:41 pm 
			
			
			
			
			
			You didn't continue reading that post.
User replied:
Code: Select all 
package require ftp 
bind pub - .ftp ftps 
proc ftps {nick uhost hand chan arg} { 
   set out {} 
   # just add your ftps to this list (make sure you don't 
   # leave any fields blank or mess up the order :P) 
   set list { 
      {"FTP 1" ftp.addr1.cum 444 login pass} 
      {"FTP 2" ftp.addr2.cum 21 login pass} 
      {"FTP 3" ftp.addr3.cum 3131 login pass} 
      {"FTP 4" ftp.addr4.cum 9999 login pass} 
   } 
   foreach ftp $list { 
      foreach {name addr port user pass} $ftp break 
      set ftp [ftp::Open $addr $user $pass -port $port] 
      if {$ftp<0} { 
         lappend out "$name is down" 
      } { 
         lappend out "$name is up" 
      } 
      ftp::Close $ftp 
   } 
   putserv "TOPIC $chan :[join $out " | "]" 
}
use it.
 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
						 
													
							
						
									
						Post 
					 
								by CyberGhosT  Fri Nov 21, 2003 7:46 pm 
			
			
			
			
			
			Yes im sure the script is loading 
			
			
									
						
							CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Fri Nov 21, 2003 9:32 pm 
			
			
			
			
			
			Must i add somthing in the ftp prog to make it work ?
			
			
									
						
							CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Sun Nov 23, 2003 7:30 am 
			
			
			
			
			
			some1 who whant to help me???
			
			
									
						
							CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								3zzy 							 
						Halfop 			
		Posts:  42 Joined:  Sun Sep 14, 2003 6:58 am 
		
						
					
						 
													
							
						
									
						Post 
					 
								by 3zzy  Thu Nov 27, 2003 1:08 pm 
			
			
			
			
			
			What about a script that would check if any ftp is online using !ftp [address] [port] ?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								Ofloo 							 
						Owner 			
		Posts:  953 Joined:  Tue May 13, 2003 1:37 amLocation:  Belguim
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Ofloo  Mon Dec 01, 2003 6:33 pm 
			
			
			
			
			
			sorry read wrong :p take back my words :p
			
			
									
						
							XplaiN but think of me as stupid
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Mon Feb 23, 2004 10:08 am 
			
			
			
			
			
			Can some 1 tell me what this mean 
package require ftp 
and wher i can get it.
Cant seam to make this script to work..
Code: Select all 
package require ftp 
bind pub - .ftp ftps 
proc ftps {nick uhost hand chan arg} { 
   set out {} 
   # just add your ftps to this list (make sure you don't 
   # leave any fields blank or mess up the order :P) 
   set list { 
      {"FTP 1" ftp.addr1.cum 444 login pass} 
      {"FTP 2" ftp.addr2.cum 21 login pass} 
      {"FTP 3" ftp.addr3.cum 3131 login pass} 
      {"FTP 4" ftp.addr4.cum 9999 login pass} 
   } 
   foreach ftp $list { 
      foreach {name addr port user pass} $ftp break 
      set ftp [ftp::Open $addr $user $pass -port $port] 
      if {$ftp<0} { 
         lappend out "$name is down" 
      } { 
         lappend out "$name is up" 
      } 
      ftp::Close $ftp 
   } 
   putserv "TOPIC $chan :[join $out " | "]" 
}
it would be nice if some1 can help me whit this thx
CyberGhosT
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								stdragon 							 
						Owner 			
		Posts:  959 Joined:  Sun Sep 23, 2001 8:00 pm
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by stdragon  Mon Feb 23, 2004 10:24 am 
			
			
			
			
			
			That means it requires the ftp package. As far as I know, it's part of the tcllib collection (tcllib.sf.net for more info).
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								CyberGhosT 							 
						Voice 			
		Posts:  13 Joined:  Thu Nov 20, 2003 5:19 pm 
		
						
					
													
							
						
									
						Post 
					 
								by CyberGhosT  Mon Feb 23, 2004 1:10 pm 
			
			
			
			
			
			cant some1 make a tcl script like this 1 without the package require ftp ?
			
			
									
						
							CyberGhosT