This is part of script which writing file:

Code:
while ($sock($sockname).rq > 0) {
  sockread &download_file
  .bwrite $qt($mircdir $+ filename.mrc) -1 -1 &download_file
}


Will I check it setting var when receive $crlf $crlf or which is the best way?