mIRC Homepage
Posted By: Jaakko FTP protocol - 04/04/03 10:03 PM
Hello, can anyone find what Im doing wrong with this one

Code:
on *:sockread:lokki:{
  sockread %rdsck
  if ($gettok(%rdsck,1,32) == 220) {
    sockwrite -n $sockname USER username
    sockwrite -n $sockname PASS password
    sockwrite -n $sockname TYPE A
    sockwrite -n $sockname PASV
    .timer 1 0.8 sockwrite -n $sockname LIST
    socklisten dataport
  }
  echo -at %rdsck
}
on *:socklisten:dataport:{
  sockaccept dataport
  echo -at test
}  
Posted By: Gods_Hell Re: FTP protocol - 05/04/03 11:10 PM
if it is for accessing a webspace or some though you will find some script on www.mircscripts.org

u would like to help yah but i haven't yet tryed somthing with sock's so i don't know how it works
© mIRC Discussion Forums