| View previous topic :: View next topic |
| Author |
Message |
era5or Guest
|
Posted: Sun Sep 21, 2003 12:51 pm Post subject: error checking anyone? |
|
|
proc ftpcheck {nick host hand chan} {
set ftpprog ftp
set server 192.168.0.5
set user testbot
set pass onlinecheck
set pipe [open "|$ftpprog -n $server" w]
puts $pipe "user $user $pass"
puts $pipe "quit"
close $pipe
putserv "privmsg #bottesting : check complete"
}
the above script works, except when the ftp reports "FTP Close: Connection Refused etc"
I have no way of detecting it.. can someone please help me out here and give me some error checking.. im a little lost  |
|
| Back to top |
|
 |
|
|
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
|
|