Help for this page

Select Code to Download


  1. or download this
    while ( $bytesread = read $fh, $buffer, 1024 )
    {
    ...
    print OUTF $buffer;
    }
    close OUTF;
    
  2. or download this
    open(OUTF, '>', "$directory$filename") || Error;