in reply to Problem with file upload CGI script
while (<$filename>) { ... } while ($bytesread=read($filename,$buffer,1024)) { [download]